[Scummvm-cvs-logs] CVS: residual driver_tinygl.cpp,1.30,1.31

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Aug 14 07:31:06 CEST 2005


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

Modified Files:
	driver_tinygl.cpp 
Log Message:
now i can do proper screenshot :)

Index: driver_tinygl.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/driver_tinygl.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- driver_tinygl.cpp	13 Aug 2005 20:14:46 -0000	1.30
+++ driver_tinygl.cpp	14 Aug 2005 14:30:18 -0000	1.31
@@ -474,7 +474,7 @@
 
 Bitmap *DriverTinyGL::getScreenshot(int w, int h) {
 	uint16 *buffer = new uint16[w * h];
-	uint16 *src = (uint16 *)_zb->pbuf;
+	uint16 *src = (uint16 *)_storedDisplay;
 	assert(buffer);
 
 	float step_x = 640.0 / w;





More information about the Scummvm-git-logs mailing list