summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/osx/salinst.cxx2
-rw-r--r--vcl/win/source/app/salinst.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index f89917be0601..a531dbd82e7c 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -271,7 +271,7 @@ void SalYieldMutex::release()
{
if ( mnCount == 1 )
{
- OpenGLContext::resetAllContexts();
+ // TODO: add OpenGLContext::clearCurrent with vcl OpenGL support
mnThreadId = 0;
}
mnCount--;
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index 1154ac1caa6d..961003434e51 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -149,7 +149,7 @@ void SalYieldMutex::release()
{
if ( mnCount == 1 )
{
- OpenGLContext::resetAllContexts();
+ OpenGLContext::clearCurrent();
// If we don't call these message, the Output from the
// Java clients doesn't come in the right order