summaryrefslogtreecommitdiffstats
path: root/src/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewport.c')
-rw-r--r--src/viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.c b/src/viewport.c
index 1a6e9dc..078d37c 100644
--- a/src/viewport.c
+++ b/src/viewport.c
@@ -19,7 +19,7 @@ init_viewport(int width, int height, int bpp)
debug("Setting video mode...");
vp->screen = SDL_SetVideoMode(width, height, bpp,
- SDL_HWSURFACE | SDL_ANYFORMAT);
+ SDL_HWSURFACE | SDL_HWPALETTE);
if (vp->screen == NULL) {
err(1, "Failed to set video mode (%s)", SDL_GetError());
}