Skip to content

Commit

Permalink
OpenGL Video: Fix swap buffers to ensure context is current.
Browse files Browse the repository at this point in the history
Probably fixes a number of OpenGL video related issues.
  • Loading branch information
Mark Kendall committed Jan 26, 2012
1 parent ac823d7 commit f629fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videoout_opengl.cpp
Expand Up @@ -638,7 +638,7 @@ void VideoOutputOpenGL::PrepareFrame(VideoFrame *buffer, FrameScanType t,

void VideoOutputOpenGL::Show(FrameScanType scan)
{
QMutexLocker locker(&gl_context_lock);
OpenGLLocker ctx_lock(gl_context);
if (IsErrored())
{
LOG(VB_GENERAL, LOG_ERR, LOC + "IsErrored() is true in Show()");
Expand Down

0 comments on commit f629fc1

Please sign in to comment.