Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3005 from FernetMenta/winrenderer

renderer: win - reset texture states on configure
  • Loading branch information...
commit 1102e36efcac7d78a3ce5aa22dc2f023ff4d3ca8 2 parents eab72c2 + 98896fd
@FernetMenta FernetMenta authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 xbmc/cores/VideoRenderers/WinRenderer.cpp
View
9 xbmc/cores/VideoRenderers/WinRenderer.cpp
@@ -229,6 +229,15 @@ bool CWinRenderer::Configure(unsigned int width, unsigned int height, unsigned i
// reinitialize the filters/shaders
m_bFilterInitialized = false;
}
+ else
+ {
+ if (m_VideoBuffers[m_iYV12RenderBuffer] != NULL)
+ m_VideoBuffers[m_iYV12RenderBuffer]->StartDecode();
+
+ m_iYV12RenderBuffer = 0;
+ if (m_VideoBuffers[0] != NULL)
+ m_VideoBuffers[0]->StartRender();
+ }
m_fps = fps;
m_iFlags = flags;
Please sign in to comment.
Something went wrong with that request. Please try again.