Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

linuxrenderer: delete correct texture targets on reconfigure

  • Loading branch information...
commit fc969e525002544a65cbf9660c4562cd4e2d45f1 1 parent 96d7fbb
@FernetMenta authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
View
5 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -249,6 +249,11 @@ bool CLinuxRendererGL::ValidateRenderTarget()
else
CLog::Log(LOGNOTICE,"Using GL_TEXTURE_2D");
+ // function pointer for texture might change in
+ // call to LoadShaders
+ for (int i = 0 ; i < m_NumYV12Buffers ; i++)
+ (this->*m_textureDelete)(i);
+
// create the yuv textures
LoadShaders();
Please sign in to comment.
Something went wrong with that request. Please try again.