Added SDL 1.3 multitouch support via SDL_FINGERDOWN/UP/MOTION events

This commit is contained in:
pelya
2010-10-12 15:47:57 +03:00
parent 5f47811d88
commit a5ff12846e
24 changed files with 83 additions and 40 deletions

View File

@@ -125,6 +125,7 @@ SdlCompat_AcceleratedSurface *SurfaceDB::getSurface( string fn ) {
void SurfaceDB::reloadAllSurfacesToVideoMemory()
{
__android_log_print(ANDROID_LOG_ERROR, "Alien Blaster", "Reloading all video surfaces" );
for( StringSurfaceMap::iterator it = surfaceDB.begin(); it != surfaceDB.end(); it++ )
{
SdlCompat_ReloadSurfaceToVideoMemory( it->second.first, loadSurfaceInternal( it->first, it->second.second ) );