prevent movies from being handed to RageBitmapTexture.

I don't know why this stopped working. It was broken before my previous commit,
but I went through the cvs history and didn't find any changes that would have
broken this if statement.
This commit is contained in:
Thad Ward
2003-09-03 13:47:02 +00:00
parent 05443292da
commit 8f60dc6c13
+1 -1
View File
@@ -129,7 +129,7 @@ RageTexture* RageTextureManager::LoadTextureInternal( RageTextureID ID )
const CString sExt = GetExtension(ID.filename);
RageTexture* pTexture;
if( sExt == ".avi" || sExt == ".mpg" || sExt == ".mpeg" )
if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" )
pTexture = MakeRageMovieTexture( ID );
else
pTexture = new RageBitmapTexture( ID );