mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Fix incorrect assertion in CGL
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user