s/RageSurface/RageSurfaceUtils/

This commit is contained in:
Glenn Maynard
2004-06-13 20:19:28 +00:00
parent bc9bbb392c
commit f2578fe6a9
12 changed files with 40 additions and 40 deletions
+4 -4
View File
@@ -236,13 +236,13 @@ static SDL_Surface *RageSurface_Load_PNG( RageFile *f, const char *fn, char erro
}
RageSurface::OpenResult RageSurface_Load_PNG( const CString &sPath, SDL_Surface *&ret, bool bHeaderOnly, CString &error )
RageSurfaceUtils::OpenResult RageSurface_Load_PNG( const CString &sPath, SDL_Surface *&ret, bool bHeaderOnly, CString &error )
{
RageFile f;
if( !f.Open( sPath ) )
{
error = f.GetError();
return RageSurface::OPEN_FATAL_ERROR;
return RageSurfaceUtils::OPEN_FATAL_ERROR;
}
char errorbuf[1024];
@@ -250,10 +250,10 @@ RageSurface::OpenResult RageSurface_Load_PNG( const CString &sPath, SDL_Surface
if( ret == NULL )
{
error = errorbuf;
return RageSurface::OPEN_UNKNOWN_FILE_FORMAT; // XXX
return RageSurfaceUtils::OPEN_UNKNOWN_FILE_FORMAT; // XXX
}
return RageSurface::OPEN_OK;
return RageSurfaceUtils::OPEN_OK;
}
/*