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 */
|
/* Create (and return) a surface ready to be loaded to OpenGL */
|
||||||
/* Load the image into an SDL surface. */
|
/* Load the image into an SDL surface. */
|
||||||
ResolvePath( actualID.filename );
|
|
||||||
SDL_Surface *img = SDL_LoadImage( actualID.filename );
|
SDL_Surface *img = SDL_LoadImage( actualID.filename );
|
||||||
|
|
||||||
/* Tolerate corrupt/unknown images. */
|
/* Tolerate corrupt/unknown images. */
|
||||||
|
|||||||
@@ -164,7 +164,6 @@ bool RageSound::Load(CString sSoundFilePath, int precache)
|
|||||||
Unload();
|
Unload();
|
||||||
|
|
||||||
m_sFilePath = sSoundFilePath;
|
m_sFilePath = sSoundFilePath;
|
||||||
ResolvePath( m_sFilePath );
|
|
||||||
position = 0;
|
position = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -534,7 +534,6 @@ CString DerefRedir(const CString &path)
|
|||||||
if( GetExtension(path) != "redir" )
|
if( GetExtension(path) != "redir" )
|
||||||
{
|
{
|
||||||
CString path2 = path;
|
CString path2 = path;
|
||||||
ResolvePath( path2 );
|
|
||||||
return path2;
|
return path2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -550,8 +549,6 @@ CString DerefRedir(const CString &path)
|
|||||||
|
|
||||||
CollapsePath( path2 );
|
CollapsePath( path2 );
|
||||||
|
|
||||||
ResolvePath( path2 );
|
|
||||||
|
|
||||||
if( !DoesFileExist(path2) )
|
if( !DoesFileExist(path2) )
|
||||||
RageException::Throw( "The redirect '%s' references a file '%s' which doesn't exist.", path.c_str(), path2.c_str() );
|
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