Searched refs:wgl_ctx (Results 1 – 1 of 1) sorted by relevance
148 static MesaWglCtx wgl_ctx[MESAWGL_CTX_MAX_COUNT]; variable162 wgl_ctx[i].ctx = NULL; in wglCreateContext()166 if ( wgl_ctx[i].ctx == NULL ) { in wglCreateContext()167 wgl_ctx[i].ctx = in wglCreateContext()173 if (wgl_ctx[i].ctx == NULL) in wglCreateContext()176 return ((HGLRC)wgl_ctx[i].ctx); in wglCreateContext()187 if ( wgl_ctx[i].ctx == (WMesaContext) hglrc ){ in wglDeleteContext()189 WMesaDestroyContext(wgl_ctx[i].ctx); in wglDeleteContext()190 wgl_ctx[i].ctx = NULL; in wglDeleteContext()204 return (HGLRC) wgl_ctx[ctx_current].ctx; in wglGetCurrentContext()[all …]