|
|
@@ -244015,7 +244015,12 @@ public: |
|
|
|
void deleteContext() |
|
|
|
{ |
|
|
|
makeInactive(); |
|
|
|
wglDeleteContext (renderContext); |
|
|
|
|
|
|
|
if (renderContext != 0) |
|
|
|
{ |
|
|
|
wglDeleteContext (renderContext); |
|
|
|
renderContext = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bool makeActive() const throw() |
|
|
@@ -259143,8 +259148,12 @@ public: |
|
|
|
{ |
|
|
|
makeInactive(); |
|
|
|
|
|
|
|
ScopedXLock xlock; |
|
|
|
glXDestroyContext (display, renderContext); |
|
|
|
if (renderContext != 0) |
|
|
|
{ |
|
|
|
ScopedXLock xlock; |
|
|
|
glXDestroyContext (display, renderContext); |
|
|
|
renderContext = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bool makeActive() const throw() |
|
|
@@ -266828,6 +266837,9 @@ public: |
|
|
|
{ |
|
|
|
makeInactive(); |
|
|
|
[renderContext clearDrawable]; |
|
|
|
[renderContext setView: nil]; |
|
|
|
[view setOpenGLContext: nil]; |
|
|
|
renderContext = nil; |
|
|
|
} |
|
|
|
|
|
|
|
bool makeActive() const throw() |
|
|
@@ -272417,6 +272429,9 @@ public: |
|
|
|
{ |
|
|
|
makeInactive(); |
|
|
|
[renderContext clearDrawable]; |
|
|
|
[renderContext setView: nil]; |
|
|
|
[view setOpenGLContext: nil]; |
|
|
|
renderContext = nil; |
|
|
|
} |
|
|
|
|
|
|
|
bool makeActive() const throw() |
|
|
|