remove ResolvePath calls; this is done automatically and has been a noop
for a long time
This commit is contained in:
@@ -81,7 +81,6 @@ void RageBitmapTexture::Create()
|
||||
|
||||
/* Create (and return) a surface ready to be loaded to OpenGL */
|
||||
/* Load the image into an SDL surface. */
|
||||
ResolvePath( actualID.filename );
|
||||
SDL_Surface *img = SDL_LoadImage( actualID.filename );
|
||||
|
||||
/* Tolerate corrupt/unknown images. */
|
||||
|
||||
@@ -164,7 +164,6 @@ bool RageSound::Load(CString sSoundFilePath, int precache)
|
||||
Unload();
|
||||
|
||||
m_sFilePath = sSoundFilePath;
|
||||
ResolvePath( m_sFilePath );
|
||||
position = 0;
|
||||
|
||||
|
||||
|
||||
@@ -534,7 +534,6 @@ CString DerefRedir(const CString &path)
|
||||
if( GetExtension(path) != "redir" )
|
||||
{
|
||||
CString path2 = path;
|
||||
ResolvePath( path2 );
|
||||
return path2;
|
||||
}
|
||||
|
||||
@@ -550,8 +549,6 @@ CString DerefRedir(const CString &path)
|
||||
|
||||
CollapsePath( path2 );
|
||||
|
||||
ResolvePath( path2 );
|
||||
|
||||
if( !DoesFileExist(path2) )
|
||||
RageException::Throw( "The redirect '%s' references a file '%s' which doesn't exist.", path.c_str(), path2.c_str() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user