This commit is contained in:
Glenn Maynard
2004-05-17 02:38:01 +00:00
parent ec1b8430bc
commit a33e65a552
8 changed files with 14 additions and 18 deletions
+2 -1
View File
@@ -14,6 +14,7 @@
#include "SDL_rotozoom.h"
#include "SDL_utils.h"
#include "SDL_dither.h"
#include "RageSurface_Load.h"
static void GetResolutionFromFileName( CString sPath, int &Width, int &Height )
{
@@ -70,7 +71,7 @@ void RageBitmapTexture::Create()
/* Create (and return) a surface ready to be loaded to OpenGL */
/* Load the image into an SDL surface. */
SDL_Surface *img = SDL_LoadImage( actualID.filename );
SDL_Surface *img = RageSurface::LoadFile( actualID.filename );
/* Tolerate corrupt/unknown images. */
if( img == NULL )