Ticket #9242: win32-opengl.diff

File win32-opengl.diff, 589 bytes (added by Lawrence Rust <lvr@…>, 13 years ago)

OpenGL Windows video fix

  • libs/libmythui/mythrender_opengl.cpp

     
    139139void MythRenderOpenGL::doneCurrent()
    140140{
    141141    m_lock_level--;
     142#ifndef USING_MINGW // BUG: This causes blank video on Windows with Qt 4.7.0
    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();