Changed RageBitmapTexture to pass a dialog id for the missing texture warning so it can be ignored. Updated changelog.

This commit is contained in:
Kyzentun
2015-04-26 09:23:12 -06:00
parent 8c802b1a28
commit 9758932be0
2 changed files with 13 additions and 2 deletions
+9
View File
@@ -4,6 +4,15 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
________________________________________________________________________________
2015/04/25
----------
* [General] Screenshot key now checks whether there is a current song, and
puts the song title and current screen name in the screenshot filename. [kyzentun]
2015/04/24
----------
* [Gameplay] Toasty animation can now occur multiple times during gameplay. [kyzentun]
2015/04/23
----------
* [ServiceMenu] Entries in service menu rearranged to hopefully organize them
+4 -2
View File
@@ -85,8 +85,10 @@ void RageBitmapTexture::Create()
/* Tolerate corrupt/unknown images. */
if( pImg == NULL )
{
RString sWarning = ssprintf( "RageBitmapTexture: Couldn't load %s: %s", actualID.filename.c_str(), error.c_str() );
Dialog::OK( sWarning );
RString warning = ssprintf("RageBitmapTexture: Couldn't load %s: %s",
actualID.filename.c_str(), error.c_str());
LOG->Warn(warning);
Dialog::OK(warning, "missing_texture");
pImg = RageSurfaceUtils::MakeDummySurface( 64, 64 );
ASSERT( pImg != NULL );
}