From Stephan Huber, "attached you'll find a fix for a crash when closeImplementation gets
called more than once."
This commit is contained in:
@@ -115,6 +115,11 @@ void PixelBufferCarbon::closeImplementation()
|
||||
if (_pbuffer) aglDestroyPBuffer(_pbuffer);
|
||||
if (_context) aglDestroyContext(_context);
|
||||
if (_pixelformat) aglDestroyPixelFormat(_pixelformat);
|
||||
|
||||
_pbuffer = NULL;
|
||||
_context = NULL;
|
||||
_pixelformat = NULL;
|
||||
|
||||
_valid = _realized = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user