Ticket #9561: 21-libmythui-ogl.diff

File 21-libmythui-ogl.diff, 571 bytes (added by Lawrence Rust <lvr@…>, 9 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() 
    139139void MythRenderOpenGL::doneCurrent()
    140140{
    141141    m_lock_level--;
     142#ifndef Q_OS_WIN32
    142143    if (m_lock_level == 0)
    143144        QGLContext::doneCurrent();
     145#endif
    144146    if (m_lock_level < 0)
    145147        VERBOSE(VB_IMPORTANT, LOC_ERR + "Mis-matched calls to makeCurrent()");
    146148    m_lock->unlock();