45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct {
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct {
45e9809aff7304721fddb95654901b32195c9c7avboxsync /* wrapped screen functions */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define glWinGetScreenPriv(pScreen) &glWinScreens[pScreen->myNum]
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define glWinScreenPriv(pScreen) glWinScreenRec *pScreenPriv = glWinGetScreenPriv(pScreen);
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define GLWIN_TRACE() if (glWinDebugSettings.enableTrace) ErrorF("%s:%d: Trace\n", __FUNCTION__, __LINE__ )
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define GLWIN_TRACE_MSG(msg, args...) if (glWinDebugSettings.enableTrace) ErrorF("%s:%d: " msg, __FUNCTION__, __LINE__, ##args )
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define GLWIN_DEBUG_MSG(msg, args...) if (glWinDebugSettings.enableDebug) ErrorF("%s:%d: " msg, __FUNCTION__, __LINE__, ##args )
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define GLWIN_DEBUG_MSG2(msg, args...) if (glWinDebugSettings.enableDebug) ErrorF(msg, ##args )