Fix incorrect assertion in CGL

This commit is contained in:
baldurk
2019-03-07 10:52:57 +00:00
parent db343cf322
commit d555514b93
+1 -1
View File
@@ -103,7 +103,7 @@ class CGLPlatform : public GLPlatform
if(share.ctx && CGL.CGLCreateContext)
{
CGLError err = CGL.CGLCreateContext(share.pix, share.ctx, &ret.ctx);
RDCASSERTMSG("Error creating temporary context", err != kCGLNoError, err);
RDCASSERTMSG("Error creating temporary context", err == kCGLNoError, err);
}
}