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 -8
View File
@@ -11,6 +11,7 @@
#include "SDL_utils.h"
#include "SDL_endian.h"
#include "SDL_image.h"
#include "SDL_rotozoom.h" // for setting icon
#include "RageSurface_Load.h"
#include "RageFile.h"
#include "RageLog.h"
@@ -491,8 +492,6 @@ Uint8 mySDL_EventState( Uint8 type, int state )
return ret;
}
#include "SDL_rotozoom.h" // for setting icon
void mySDL_WM_SetIcon( CString sIconFile )
{
#if !defined(DARWIN)
@@ -502,7 +501,7 @@ void mySDL_WM_SetIcon( CString sIconFile )
return;
}
SDL_Surface *srf = SDL_LoadImage(sIconFile);
SDL_Surface *srf = RageSurface::LoadFile(sIconFile);
if( srf == NULL )
return;
@@ -1093,11 +1092,6 @@ SDL_RWops *OpenRWops( const CString &sPath, bool Write )
return rw;
}
SDL_Surface *SDL_LoadImage( const CString &sPath )
{
return LoadSurface( sPath );
}
struct RWString
{
CString *buf;