From f2398eb9a6b461a228c95c963fd783186c65d1e6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 9 Jul 2003 21:22:46 +0000 Subject: [PATCH] comment --- stepmania/src/arch/MovieTexture/MovieTexture_DShowHelper.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_DShowHelper.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_DShowHelper.cpp index b4b74f8969..a36b9ec189 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_DShowHelper.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_DShowHelper.cpp @@ -35,7 +35,9 @@ HRESULT CTextureRenderer::CheckMediaType(const CMediaType *pmt) if( *pmt->FormatType() != FORMAT_VideoInfo ) return E_INVALIDARG; - // Force the graph to R8G8B8. + /* Force the graph to R8G8B8. DirectShow won't generate a FMT_RGB5 that OpenGL + * can handle. It's faster to generate FMT8 and let OpenGL convert on the fly + * than to generate FMT_RGB5 and convert it ourself. */ pvi = (VIDEOINFO *)pmt->Format(); if(IsEqualGUID( *pmt->Type(), MEDIATYPE_Video) && IsEqualGUID( *pmt->Subtype(), MEDIASUBTYPE_RGB24))