Searched refs:hGLRC (Results 1 – 1 of 1) sorted by relevance
184 HGLRC hGLRC; member592 void createGlContext(HWND hWnd, HDC& hGLDC, HGLRC& hGLRC, bool& useGl) in createGlContext() argument635 hGLRC = wglCreateContext(hGLDC); in createGlContext()636 if (!hGLRC) in createGlContext()639 if (!wglMakeCurrent(hGLDC, hGLRC)) in createGlContext()653 if (window->hGLRC) in releaseGlContext()655 wglDeleteContext(window->hGLRC); in releaseGlContext()656 window->hGLRC = NULL; in releaseGlContext()676 if (!wglMakeCurrent(window->dc, window->hGLRC)) in drawGl()696 if (!wglMakeCurrent(window->dc, window->hGLRC)) in resizeGl()[all …]