aboutsummaryrefslogtreecommitdiffstats
path: root/src/glew/visualinfo.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-01-03 21:30:02 +0000
committerJosé Fonseca <[email protected]>2010-01-06 12:23:37 +0000
commitaaf7ecfd816f82fef314f4f772cc53bc0ced553e (patch)
tree679487db256b7d96f7b80f498814e5665b3d7ed3 /src/glew/visualinfo.c
parentf02347374819a9b145a3e26c625709aea0c6f61b (diff)
glew: Update to version 1.5.2.
Diffstat (limited to 'src/glew/visualinfo.c')
-rw-r--r--src/glew/visualinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glew/visualinfo.c b/src/glew/visualinfo.c
index 384313df220..f3ae91f2b4f 100644
--- a/src/glew/visualinfo.c
+++ b/src/glew/visualinfo.c
@@ -1056,7 +1056,7 @@ GLboolean CreateContext (GLContext* ctx)
aglDestroyPixelFormat(pf);
/*aglSetDrawable(ctx, GetWindowPort(wnd));*/
ctx->octx = aglGetCurrentContext();
- if (NULL == aglSetCurrentContext(ctx->ctx)) return GL_TRUE;
+ if (GL_FALSE == aglSetCurrentContext(ctx->ctx)) return GL_TRUE;
return GL_FALSE;
}