Skip to content
This repository
Browse code

Merge pull request #3005 from FernetMenta/winrenderer

renderer: win - reset texture states on configure
  • Loading branch information...
commit 1102e36efcac7d78a3ce5aa22dc2f023ff4d3ca8 2 parents eab72c2 + 98896fd
Rainer Hochecker authored July 26, 2013

Showing 1 changed file with 9 additions and 0 deletions. Show diff stats Hide diff stats

  1. 9  xbmc/cores/VideoRenderers/WinRenderer.cpp
9  xbmc/cores/VideoRenderers/WinRenderer.cpp
@@ -229,6 +229,15 @@ bool CWinRenderer::Configure(unsigned int width, unsigned int height, unsigned i
229 229
     // reinitialize the filters/shaders
230 230
     m_bFilterInitialized = false;
231 231
   }
  232
+  else
  233
+  {
  234
+    if (m_VideoBuffers[m_iYV12RenderBuffer] != NULL)
  235
+      m_VideoBuffers[m_iYV12RenderBuffer]->StartDecode();
  236
+
  237
+    m_iYV12RenderBuffer = 0;
  238
+    if (m_VideoBuffers[0] != NULL)
  239
+      m_VideoBuffers[0]->StartRender();
  240
+  }
232 241
 
233 242
   m_fps = fps;
234 243
   m_iFlags = flags;

0 notes on commit 1102e36

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