[Scummvm-cvs-logs] SF.net SVN: scummvm: [21291] scummvm/trunk/backends/sdl/graphics.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Mar 14 06:38:03 CET 2006


Revision: 21291
Author:   fingolfin
Date:     2006-03-14 06:37:13 -0800 (Tue, 14 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21291&view=rev

Log Message:
-----------
Use SDL_GetError in an attempt to display slightly more information about the reason(s) SDL_SetVideoMode failed

Modified Paths:
--------------
    scummvm/trunk/backends/sdl/graphics.cpp
Modified: scummvm/trunk/backends/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/sdl/graphics.cpp	2006-03-14 14:25:13 UTC (rev 21290)
+++ scummvm/trunk/backends/sdl/graphics.cpp	2006-03-14 14:37:13 UTC (rev 21291)
@@ -373,7 +373,7 @@
 		// in place of the member vars, do everything etc. etc.. In case
 		// of a failure, rollback is trivial. Only if everything worked fine
 		// do we "commit" the changed values to the member vars.
-		warning("SDL_SetVideoMode says we can't switch to that mode");
+		warning("SDL_SetVideoMode says we can't switch to that mode (%s)", SDL_GetError());
 		quit();
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list