summaryrefslogtreecommitdiff
path: root/src/glew/visualinfo.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-12 11:25:02 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-12 11:25:02 +0800
commit562c127693200822f04a145db50add1be2425d7b (patch)
tree9441774fb212b17ddf2a364f06abc43f166cc00b /src/glew/visualinfo.c
parente5d351dcfde58777162552cf5cd2a9cd8299f4cd (diff)
parent077d6dd7508af88509dd0499c5dfbdaa186b4015 (diff)
Merge branch 'master' into opengl-es-v2
Conflicts: src/mesa/main/dd.h
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 384313df22..f3ae91f2b4 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;
}