[Scummvm-cvs-logs] CVS: scummvm/backends/gp32 gp32.h,1.5,1.6

Max Horn fingolfin at users.sourceforge.net
Sun May 25 05:09:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/gp32
In directory sc8-pr-cvs1:/tmp/cvs-serv18711/backends/gp32

Modified Files:
	gp32.h 
Log Message:
changed scaler proc signature so that srcPtr is const (this can help optimizer by simplifying aliasing detection; thanks to Bertrand Augereau for pointing this out)

Index: gp32.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/gp32/gp32.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gp32.h	10 Apr 2003 13:39:38 -0000	1.5
+++ gp32.h	25 May 2003 12:08:01 -0000	1.6
@@ -118,10 +118,8 @@
 	void copy_rect_overlay(const int16 *buf, int pitch, int x, int y, int w, int h);
 
 	static OSystem *create(int gfx_mode, bool full_screen);
-private:
-	typedef void ScalerProc(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr,
-								uint8 *dstPtr, uint32 dstPitch, int width, int height);
 
+private:
 	SDL_Surface *sdl_tmpscreen;   // temporary screen (for scalers/overlay)
 	SDL_Surface *sdl_hwscreen;    // hardware screen
 	bool _overlay_visible;





More information about the Scummvm-git-logs mailing list