Skip to content

Commit

Permalink
VideoOutputOpenGL: Minor cleanup of gpu debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jan 21, 2019
1 parent 27248e5 commit 77d58cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mythtv/libs/libmythtv/videoout_opengl.cpp
Expand Up @@ -676,10 +676,12 @@ void VideoOutputOpenGL::Show(FrameScanType /*scan*/)
return;
}

if (VERBOSE_LEVEL_CHECK(VB_GPU, LOG_INFO))
gl_context->logDebugMarker(LOC + "SHOW");
if (gl_context)
{
if (VERBOSE_LEVEL_CHECK(VB_GPU, LOG_INFO))
gl_context->logDebugMarker(LOC + "SHOW");
gl_context->swapBuffers();
}
}

/*! \brief Generate a list of supported OpenGL profiles.
Expand Down

0 comments on commit 77d58cf

Please sign in to comment.