Skip to content
This repository
Browse code

gles, fixed, more missing code

  • Loading branch information...
commit d0fc5111cc843d43154d0b18a7ab39c214f103cd 1 parent 6db5a2c
authored September 27, 2013
6  xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
@@ -170,6 +170,12 @@ bool CLinuxRendererGLES::ValidateRenderTarget()
170 170
   {
171 171
     CLog::Log(LOGNOTICE,"Using GL_TEXTURE_2D");
172 172
 
  173
+    // function pointer for texture might change in
  174
+    // call to LoadShaders
  175
+    glFinish();
  176
+    for (int i = 0 ; i < NUM_BUFFERS ; i++)
  177
+      (this->*m_textureDelete)(i);
  178
+
173 179
      // create the yuv textures
174 180
     LoadShaders();
175 181
 

0 notes on commit d0fc511

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