diff options
author | Sven Gothel <[email protected]> | 2012-07-20 15:44:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-07-20 15:44:00 +0200 |
commit | 72785ac35aa7c95bc675f3d773c6a7764b5b0ddc (patch) | |
tree | 9b8138a7a6b1bf69002395822cdaeae3962d1bf0 /src/jogl/native/macosx | |
parent | 06b6a74f4915a539f6025112a82e517d8e8cb7af (diff) |
Fix OSX regression of commit 20bf031db719f7baa4c6e74734fc999061e08fe2 - handling w/ non NSView handles (pbuffer)
Diffstat (limited to 'src/jogl/native/macosx')
-rw-r--r-- | src/jogl/native/macosx/MacOSXWindowSystemInterface.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/native/macosx/MacOSXWindowSystemInterface.m b/src/jogl/native/macosx/MacOSXWindowSystemInterface.m index d3f703142..f774f8f4a 100644 --- a/src/jogl/native/macosx/MacOSXWindowSystemInterface.m +++ b/src/jogl/native/macosx/MacOSXWindowSystemInterface.m @@ -515,7 +515,7 @@ NSOpenGLContext* createContext(NSOpenGLContext* share, DBG_PRINT("createContext.0: share %p, view %p, allowIncompleteView %d, pixfmt %p, opaque %d\n", share, view, (int)allowIncompleteView, fmt, opaque); - if (view != NULL) { + if (view != nil) { Bool viewReady = true; if(!allowIncompleteView) { |