Fix "foo.AVI" (uppercase) not working
This commit is contained in:
@@ -125,7 +125,8 @@ RageTexture* RageTextureManager::LoadTextureInternal( RageTextureID ID )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The texture is not already loaded. Load it.
|
// The texture is not already loaded. Load it.
|
||||||
const CString sExt = GetExtension(ID.filename);
|
CString sExt = GetExtension(ID.filename);
|
||||||
|
sExt.MakeLower();
|
||||||
|
|
||||||
RageTexture* pTexture;
|
RageTexture* pTexture;
|
||||||
if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" )
|
if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" )
|
||||||
|
|||||||
Reference in New Issue
Block a user