diff options
author | Max Horn | 2003-05-25 12:08:01 +0000 |
---|---|---|
committer | Max Horn | 2003-05-25 12:08:01 +0000 |
commit | 9b70fee5f39d02b3ea99c9aef4519f00ea433a58 (patch) | |
tree | daa052515ac117e8e6fceae69016e6bd338611e6 /backends/gp32/gp32.h | |
parent | e827a569d2cb7936bd01b349e788fabd5c244f41 (diff) | |
download | scummvm-rg350-9b70fee5f39d02b3ea99c9aef4519f00ea433a58.tar.gz scummvm-rg350-9b70fee5f39d02b3ea99c9aef4519f00ea433a58.tar.bz2 scummvm-rg350-9b70fee5f39d02b3ea99c9aef4519f00ea433a58.zip |
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
Diffstat (limited to 'backends/gp32/gp32.h')
-rw-r--r-- | backends/gp32/gp32.h | 4 |
1 files changed, 1 insertions, 3 deletions
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; |