From c4702a277dc8ca36731f2758040e9f0b74f1ac00 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 13 Oct 2002 23:27:13 +0000 Subject: [PATCH] /* */ --- stepmania/src/RageMovieTexture.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/RageMovieTexture.cpp b/stepmania/src/RageMovieTexture.cpp index 7d585bdcce..2436c16634 100644 --- a/stepmania/src/RageMovieTexture.cpp +++ b/stepmania/src/RageMovieTexture.cpp @@ -278,6 +278,10 @@ HRESULT CTextureRenderer::DoRenderSample( IMediaSample * pSample ) ASSERT( m_pTexture != NULL ); // flip active texture + /* Hmm. GetD3DTexture says "Return the front buffer because it's guaranteed + * that CTextureRenderer doesn't have it locked." But what happens if we somehow + * get two movie frames while whoever called GetD3DTexture is still working with + * it? Maybe we should triple buffer, just to be sure. */ m_pTexture->Flip(); return S_OK;