aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/fb2opengl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/fb2opengl.h b/backends/sdl/fb2opengl.h
index 7c337ed7b2..bf54daaffa 100644
--- a/backends/sdl/fb2opengl.h
+++ b/backends/sdl/fb2opengl.h
@@ -125,7 +125,7 @@ void FB2GL::makeTextures() {
buffer1 = RGBAFrameBuffer1;
buffer2 = RGBAFrameBuffer2;
} else {
- mode = GL_RGBA;
+ mode = GL_COLOR_INDEX;
buffer1 = palettedFrameBuffer1;
buffer2 = palettedFrameBuffer2;
}