fix movie playback
This commit is contained in:
@@ -95,7 +95,7 @@ RageTexture* RageTextureManager::LoadTexture( RageTextureID ID )
|
|||||||
splitpath( ID.filename, sDir, sFName, sExt );
|
splitpath( ID.filename, sDir, sFName, sExt );
|
||||||
|
|
||||||
RageTexture* pTexture;
|
RageTexture* pTexture;
|
||||||
if( sExt == "avi" || sExt == "mpg" || sExt == "mpeg" )
|
if( sExt == ".avi" || sExt == ".mpg" || sExt == ".mpeg" )
|
||||||
pTexture = new RageMovieTexture( ID );
|
pTexture = new RageMovieTexture( ID );
|
||||||
else
|
else
|
||||||
pTexture = new RageBitmapTexture( ID );
|
pTexture = new RageBitmapTexture( ID );
|
||||||
|
|||||||
Reference in New Issue
Block a user