aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp
index ef8633bea4..59b2302ed0 100644
--- a/backends/sdl/sdl.cpp
+++ b/backends/sdl/sdl.cpp
@@ -22,13 +22,9 @@
#include "sdl-common.h"
#include "common/scaler.h"
+#include "common/util.h"
#include "common/engine.h" // Only #included for error() and warning()
-// FIXME - this macro assumes that we use 565 mode. But what if we are in 555 mode?
-#define RGB_TO_16(r,g,b) ((((r>>3)&0x1F) << 11) | (((g>>2)&0x3F) << 5) | ((b>>3)&0x1F))
-//#define RGB_TO_16(r,g,b) ((((r>>3)&0x1F) << 10) | (((g>>3)&0x1F) << 5) | ((b>>3)&0x1F))
-
-
class OSystem_SDL_Normal : public OSystem_SDL_Common {
public:
// Set colors of the palette