[Libreoffice-commits] core.git: vcl/osx vcl/win

Markus Mohrhard markus.mohrhard at collabora.co.uk
Fri Jan 16 17:39:49 PST 2015


 vcl/osx/salinst.cxx            |    2 +-
 vcl/win/source/app/salinst.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5c99a17037b807f7728ed8c677559c3032b9500c
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Sat Jan 17 02:38:37 2015 +0100

    forgot the Win and OSX backend
    
    Change-Id: I1aa12c89cbddd83febac733f68904cda6b91f0a9

diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index f89917b..a531dbd 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 1154ac1..9610034 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


More information about the Libreoffice-commits mailing list