Skip to content

Commit

Permalink
VideoOutputOpenGL: Minor tweak to the visualiser call.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed May 2, 2011
1 parent 5b6eda3 commit 0e8f589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videoout_opengl.cpp
Expand Up @@ -443,7 +443,7 @@ void VideoOutputOpenGL::PrepareFrame(VideoFrame *buffer, FrameScanType t,
}
}

if (m_visual)
if (m_visual && gl_painter && !window.IsEmbedding())
m_visual->Draw(GetTotalOSDBounds(), gl_painter, NULL);

if (osd && gl_painter && !window.IsEmbedding())
Expand Down

0 comments on commit 0e8f589

Please sign in to comment.