mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
OpenGL tweaks.
This commit is contained in:
parent
7436e26887
commit
fe92227a4d
6 changed files with 41 additions and 6 deletions
|
|
@ -3244,8 +3244,12 @@ public:
|
|||
{
|
||||
makeInactive();
|
||||
|
||||
ScopedXLock xlock;
|
||||
glXDestroyContext (display, renderContext);
|
||||
if (renderContext != 0)
|
||||
{
|
||||
ScopedXLock xlock;
|
||||
glXDestroyContext (display, renderContext);
|
||||
renderContext = 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool makeActive() const throw()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue