mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: transparency
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
58c22748cc
commit
4be1d9c8ac
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ bool gbitmap_sequence_update_bitmap_next_frame(GBitmapSequence *bitmap_sequence,
|
||||||
const bool bitmap_supports_transparency = (bitmap_format != GBitmapFormat1Bit);
|
const bool bitmap_supports_transparency = (bitmap_format != GBitmapFormat1Bit);
|
||||||
|
|
||||||
// DISPOSE_OP_BACKGROUND sets the background to black with transparency (0x00)
|
// DISPOSE_OP_BACKGROUND sets the background to black with transparency (0x00)
|
||||||
// If we don't support tranparency, just do nothing.
|
// If we don't support transparency, just do nothing.
|
||||||
if (bitmap_supports_transparency &&
|
if (bitmap_supports_transparency &&
|
||||||
(png_decoder_data->last_dispose_op == APNG_DISPOSE_OP_BACKGROUND)) {
|
(png_decoder_data->last_dispose_op == APNG_DISPOSE_OP_BACKGROUND)) {
|
||||||
const uint32_t y_origin = bitmap->bounds.origin.y + png_decoder_data->previous_yoffset;
|
const uint32_t y_origin = bitmap->bounds.origin.y + png_decoder_data->previous_yoffset;
|
||||||
|
|
Loading…
Add table
Reference in a new issue