Browse Source

Set CD Graphics palette opaque.

tags/n0.9
Carl Eugen Hoyos 13 years ago
parent
commit
973f3d3e0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cdgraphics.c

+ 1
- 1
libavcodec/cdgraphics.c View File

@@ -126,7 +126,7 @@ static void cdg_load_palette(CDGraphicsContext *cc, uint8_t *data, int low)
r = ((color >> 8) & 0x000F) * 17;
g = ((color >> 4) & 0x000F) * 17;
b = ((color ) & 0x000F) * 17;
palette[i + array_offset] = r << 16 | g << 8 | b;
palette[i + array_offset] = 0xFF << 24 | r << 16 | g << 8 | b;
}
cc->frame.palette_has_changed = 1;
}


Loading…
Cancel
Save