[Scummvm-cvs-logs] CVS: residual driver_tinygl.cpp,1.6,1.7

Joost Peters joostp at users.sourceforge.net
Sun Mar 6 07:30:34 CET 2005


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28275

Modified Files:
	driver_tinygl.cpp 
Log Message:
(f)printf can't take std::string


Index: driver_tinygl.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/driver_tinygl.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- driver_tinygl.cpp	26 Jan 2005 19:25:29 -0000	1.6
+++ driver_tinygl.cpp	6 Mar 2005 15:28:45 -0000	1.7
@@ -269,7 +269,7 @@
 //		tglLightf(TGL_LIGHT0 + lightId, TGL_LINEAR_ATTENUATION, light->_intensity);
 		tglEnable(TGL_LIGHT0 + lightId);
 	} else {
-		error("Scene::setupLights() Unknown type of light: %s", light->_type);
+		error("Scene::setupLights() Unknown type of light: %s", light->_type.c_str());
 	}
 }
 





More information about the Scummvm-git-logs mailing list