From b6f8aa97003c8fb9438500b0b5a4d2baf273f39a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 1 Jul 2003 23:57:52 +0000 Subject: [PATCH] Always use 16-bit textures for movies. --- stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp index 08cf01a6a5..eb5f5e2de9 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp @@ -320,16 +320,16 @@ void MovieTexture_DShow::CreateTexture() * impossible. (For example, 24-bit textures may even be cheaper on pure * AGP cards; 16-bit requires a conversion.) */ PixelFormat pixfmt; - switch( TEXTUREMAN->GetTextureColorDepth() ) +/* switch( TEXTUREMAN->GetTextureColorDepth() ) { default: ASSERT(0); - case 16: + case 16: */ if( DISPLAY->SupportsTextureFormat(FMT_RGB5) ) pixfmt = FMT_RGB5; else pixfmt = FMT_RGBA4; // everything supports RGBA4 - break; +/* break; case 32: if( DISPLAY->SupportsTextureFormat(FMT_RGB8) ) pixfmt = FMT_RGB8; @@ -340,7 +340,7 @@ void MovieTexture_DShow::CreateTexture() else pixfmt = FMT_RGBA4; // everything supports RGBA4 break; - } + } */ const PixelFormatDesc *pfd = DISPLAY->GetPixelFormatDesc(pixfmt);