diff options
Diffstat (limited to 'progs/wgl/wglthreads')
-rw-r--r-- | progs/wgl/wglthreads/wglthreads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/wgl/wglthreads/wglthreads.c b/progs/wgl/wglthreads/wglthreads.c index 32f3e45edf5..9ca7f025dc3 100644 --- a/progs/wgl/wglthreads/wglthreads.c +++ b/progs/wgl/wglthreads/wglthreads.c @@ -483,7 +483,9 @@ create_window(struct winthread *wt, HGLRC shareCtx) wt->WinHeight = height; wt->NewSize = GL_TRUE; + wglMakeCurrent(hdc, ctx); printf("wglthreads: %d: GL_RENDERER = %s\n", wt->Index, (char *) glGetString(GL_RENDERER)); + wglMakeCurrent(NULL, NULL); if (Texture/* && wt->Index == 0*/) { MakeNewTexture(wt); |