Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

linuxrenderer: delete correct texture targets on reconfigure

  • Loading branch information...
commit 632080e1bc90f3b460ecad966825b7b6fb9d44aa 1 parent 4d5930f
@FernetMenta authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
View
5 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -247,6 +247,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.