aboutsummaryrefslogtreecommitdiffstats
path: root/src/glut/glx/win32_glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/glx/win32_glx.c')
-rw-r--r--src/glut/glx/win32_glx.c2
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