Merge branch '7.8'
[mesa.git] / src / glew / visualinfo.c
index 384313df220da81e2401c02347923423bba87915..f3ae91f2b4f1d6945b3cee5f6335e3775c2c1a43 100644 (file)
@@ -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;
 }