diff options
author | José Fonseca <[email protected]> | 2009-02-10 11:36:48 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-02-10 11:51:46 +0000 |
commit | 5b0807b72f16a4835e4b28aa8a66e9bcd867d383 (patch) | |
tree | 32e803e6bb4a7390b005d6d5a3f2d8ef61af25c5 /src/glut/glx/win32_glx.c | |
parent | aeed92952efaac0b3519aeb141de18e17f0f454c (diff) |
glut: Use the official WGL functions.
Especially using wglGetPixelFormat instead of GetPixelFormat causes
problems with opengl32.dll and drivers that not hack around this issue.
Diffstat (limited to 'src/glut/glx/win32_glx.c')
-rw-r--r-- | src/glut/glx/win32_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/win32_glx.c b/src/glut/glx/win32_glx.c index ecfff44b930..3522e606ec8 100644 --- a/src/glut/glx/win32_glx.c +++ b/src/glut/glx/win32_glx.c @@ -22,7 +22,7 @@ glXCreateContext(Display * display, XVisualInfo * visinfo, routine. */ HGLRC context; - context = CreateContext(XHDC); + context = wglCreateContext(XHDC); #if 0 /* XXX GLUT doesn't support it now, so don't worry about display list |