mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2025-02-25 14:31:58 +00:00
Fix assignment
This commit is contained in:
parent
7967188f46
commit
452ec7a16f
@ -47,7 +47,7 @@ static inline void _clearCurrentContext(){
|
||||
// Cocoa's NSOpenGLContext can withstand a double init and I know of at least one app that does it
|
||||
// Maybe Cocoa just leaks, we don't
|
||||
[_pixelFormat release];
|
||||
_pixelFormat==nil;
|
||||
_pixelFormat=nil;
|
||||
CGLReleaseContext(_glContext);
|
||||
_glContext=NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user