From 9b70fee5f39d02b3ea99c9aef4519f00ea433a58 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 25 May 2003 12:08:01 +0000 Subject: 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) svn-id: r7939 --- backends/gp32/gp32.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backends/gp32') diff --git a/backends/gp32/gp32.h b/backends/gp32/gp32.h index 7445167ba6..da69b2fedd 100644 --- a/backends/gp32/gp32.h +++ b/backends/gp32/gp32.h @@ -118,10 +118,8 @@ public: 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; -- cgit v1.2.3