SDL 1.3 compiles but restoring from background does not work in Alien Blaster
This commit is contained in:
@@ -116,3 +116,10 @@ SdlCompat_AcceleratedSurface *SurfaceDB::getSurface( string fn ) {
|
||||
}
|
||||
}
|
||||
|
||||
void SurfaceDB::reloadAllSurfacesToVideoMemory()
|
||||
{
|
||||
for( StringSurfaceMap::iterator it = surfaceDB.begin(); it != surfaceDB.end(); it++ )
|
||||
{
|
||||
SdlCompat_ReloadSurfaceToVideoMemory( it->second );
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user