Skip to content

Commit

Permalink
gles, fixed, more missing code
Browse files Browse the repository at this point in the history
  • Loading branch information
davilla committed Sep 27, 2013
1 parent 6db5a2c commit d0fc511
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
Expand Up @@ -170,6 +170,12 @@ bool CLinuxRendererGLES::ValidateRenderTarget()
{
CLog::Log(LOGNOTICE,"Using GL_TEXTURE_2D");

// function pointer for texture might change in
// call to LoadShaders
glFinish();
for (int i = 0 ; i < NUM_BUFFERS ; i++)
(this->*m_textureDelete)(i);

// create the yuv textures
LoadShaders();

Expand Down

0 comments on commit d0fc511

Please sign in to comment.