From aaf7ecfd816f82fef314f4f772cc53bc0ced553e Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 3 Jan 2010 21:30:02 +0000 Subject: glew: Update to version 1.5.2. --- src/glew/visualinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glew/visualinfo.c') 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; } -- cgit v1.2.3