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
This commit is contained in:
Max Horn 2003-05-25 12:08:01 +00:00
parent e827a569d2
commit 9b70fee5f3
4 changed files with 30 additions and 32 deletions

View file

@ -124,9 +124,6 @@ public:
static OSystem *create(int gfx_mode, bool full_screen);
protected:
typedef void ScalerProc(uint8 *srcPtr, uint32 srcPitch,
uint8 *dstPtr, uint32 dstPitch, int width, int height);
OSystem_SDL_Common();
virtual ~OSystem_SDL_Common();