aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 9c4bf91ab7..da878153d4 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -31,13 +31,13 @@
class OSystem_SDL_Common : public OSystem {
public:
- // Set colors of the palette
- void set_palette(const byte *colors, uint start, uint num) = 0;
-
// Set the size of the video bitmap.
// Typically, 320x200
void init_size(uint w, uint h);
+ // Set colors of the palette
+ void set_palette(const byte *colors, uint start, uint num);
+
// Draw a bitmap to screen.
// The screen will not be updated to reflect the new bitmap
void copy_rect(const byte *buf, int pitch, int x, int y, int w, int h);
@@ -208,7 +208,7 @@ protected:
// Mutex that prevents multiple threads interferring with each other
// when accessing the screen.
- SDL_mutex *_mutex;
+ SDL_mutex *_graphicsMutex;
void add_dirty_rgn_auto(const byte *buf);