[Scummvm-cvs-logs] CVS: residual driver_gl.cpp,1.34,1.35

Joost Peters joostp at users.sourceforge.net
Sat Feb 26 14:00:02 CET 2005


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

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


Index: driver_gl.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/driver_gl.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- driver_gl.cpp	26 Jan 2005 19:25:29 -0000	1.34
+++ driver_gl.cpp	26 Feb 2005 21:54:21 -0000	1.35
@@ -194,7 +194,7 @@
 //		glLightf(GL_LIGHT0 + lightId, GL_LINEAR_ATTENUATION, light->_intensity);
 		glEnable(GL_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