Inline palettes in SDL backend into class OSystem_SDL

svn-id: r49383
This commit is contained in:
Max Horn 2010-06-01 22:28:24 +00:00
parent a6efbf8880
commit 93867d567f
2 changed files with 5 additions and 9 deletions

View file

@ -422,11 +422,11 @@ protected:
int _newShakePos;
// Palette data
SDL_Color *_currentPalette;
SDL_Color _currentPalette[256];
uint _paletteDirtyStart, _paletteDirtyEnd;
// Cursor palette data
SDL_Color *_cursorPalette;
SDL_Color _cursorPalette[256];
/**
* Mutex which prevents multiple threads from interfering with each other