Ticket #9561: 21-libmythui-ogl.diff
File 21-libmythui-ogl.diff, 571 bytes (added by , 13 years ago) |
---|
-
mythtv/libs/libmythui/mythrender_opengl.cpp
diff --git a/mythtv/libs/libmythui/mythrender_opengl.cpp b/mythtv/libs/libmythui/mythrender_opengl.cpp index 677a15d..2d3e00a 100644
void MythRenderOpenGL::makeCurrent() 139 139 void MythRenderOpenGL::doneCurrent() 140 140 { 141 141 m_lock_level--; 142 #ifndef Q_OS_WIN32 142 143 if (m_lock_level == 0) 143 144 QGLContext::doneCurrent(); 145 #endif 144 146 if (m_lock_level < 0) 145 147 VERBOSE(VB_IMPORTANT, LOC_ERR + "Mis-matched calls to makeCurrent()"); 146 148 m_lock->unlock();