Skip to content
Browse files

LinuxRendererGL: call glFinish in uninit

  • Loading branch information...
1 parent 15a341d commit a0b314f9b6bfa56790602ddeaf8581d3473b336f @FernetMenta FernetMenta committed Oct 22, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
View
2 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -1049,6 +1049,8 @@ void CLinuxRendererGL::UnInit()
CLog::Log(LOGDEBUG, "LinuxRendererGL: Cleaning up GL resources");
CSingleLock lock(g_graphicsContext);
+ glFinish();
+
if (m_rgbPbo)
{
glDeleteBuffersARB(1, &m_rgbPbo);

0 comments on commit a0b314f

Please sign in to comment.
Something went wrong with that request. Please try again.