summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index 36fb07f22..33edfb8dd 100644
--- a/sdl.c
+++ b/sdl.c
@@ -771,6 +771,9 @@ static void sdl_mouse_define(int width, int height, int bpp,
line = image;
for (x = 0; x < width; x ++, dst ++) {
switch (bpp) {
+ case 32:
+ src = *(line ++); src |= *(line ++); src |= *(line ++); line++;
+ break;
case 24:
src = *(line ++); src |= *(line ++); src |= *(line ++);
break;