aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl')
-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 021ce90da4..a1eb158b3a 100644
--- a/backends/sdl/fb2opengl.h
+++ b/backends/sdl/fb2opengl.h
@@ -124,7 +124,7 @@ void FB2GL::makeTextures() {
if (flags & FB2GL_RGBA) {
mode = GL_RGBA;
- buffer1 = (unsigned char *)RGBAFrameBuffer1;
+ buffer1 = RGBAFrameBuffer1;
buffer2 = RGBAFrameBuffer2;
} else {
mode = GL_RGBA;