Skip to content

Commit

Permalink
vaapi: call glFinish before closing context
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 28, 2014
1 parent f487af5 commit 7adcfca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp
Expand Up @@ -2268,6 +2268,7 @@ bool COutput::DestroyGlxContext()
{
if (m_glContext)
{
glFinish();
glXMakeCurrent(m_Display, None, NULL);
glXDestroyContext(m_Display, m_glContext);
}
Expand Down

0 comments on commit 7adcfca

Please sign in to comment.