Set ScummVM DXA palette opaque.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 12 Nov 2011 19:07:31 +0000 (20:07 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 12 Nov 2011 19:07:31 +0000 (20:07 +0100)
libavcodec/dxa.c

index b3bdae5..f32fdd3 100644 (file)
@@ -209,7 +209,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
             r = *buf++;
             g = *buf++;
             b = *buf++;
-            c->pal[i] = (r << 16) | (g << 8) | b;
+            c->pal[i] = 0xFF << 24 | r << 16 | g << 8 | b;
         }
         pc = 1;
         buf_size -= 768+4;