static DWORD WINAPI GLimp_RenderThreadWrapper( LPVOID ) { glimpRenderThread(); // unbind the context before we die wglMakeCurrent( maindc, NULL ); return 0; }
void* GLimp_RenderThreadWrapper( void *stub ) { glimpRenderThread(); #if 0 // unbind the context before we die qglXMakeCurrent(dpy, None, NULL); #endif }
static void* GLimp_RenderThreadWrapper( void* arg ) { common->Printf( "Render thread starting\n" ); glimpRenderThread(); glXMakeCurrent( dpy, None, NULL ); common->Printf( "Render thread terminating\n" ); return arg; }
/* =============== GLimp_RenderThreadWrapper =============== */ static int GLimp_RenderThreadWrapper( void *arg ) { Com_Printf( "Render thread starting\n" ); glimpRenderThread(); GLimp_SetCurrentContext(NULL); Com_Printf( "Render thread terminating\n" ); return 0; }
/* =============== GLimp_RenderThreadWrapper =============== */ static int GLimp_RenderThreadWrapper( void *arg ) { // These printfs cause race conditions which mess up the console output //Com_Printf( "Render thread starting\n" ); glimpRenderThread(); GLimp_SetCurrentContext(qfalse); //Com_Printf( "Render thread terminating\n" ); return 0; }
/* =============== GLimp_RenderThreadWrapper =============== */ int GLimp_RenderThreadWrapper(void *arg) { Com_Printf("SMP: Render thread starting.\n"); glimpRenderThread(); SDL_LockMutex(smpMutex); { smpData = NULL; renderThread = NULL; SDL_CondSignal(renderCompletedEvent); } SDL_UnlockMutex(smpMutex); Com_Printf("SMP: Render thread ended.\n"); return 0; }
void *GLimp_RenderThreadWrapper( void *stub ) { glimpRenderThread(); return NULL; }
static void GLimp_RenderThreadWrapper() { glimpRenderThread(); // unbind the context before we die qwglMakeCurrent( glw_state.hDC, NULL ); }