Skip to content

Commit

Permalink
Fix typo in rgba.c
Browse files Browse the repository at this point in the history
A bitwise OR is needed in rgba_clear.
  • Loading branch information
rellla committed Sep 9, 2014
1 parent ea45c78 commit 1a41433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rgba.c
Expand Up @@ -226,7 +226,7 @@ void rgba_clear(rgba_surface_t *rgba)
return;

rgba_fill(rgba, &rgba->dirty, 0x00000000);
rgba->flags &= ~(RGBA_FLAG_DIRTY || RGBA_FLAG_NEEDS_CLEAR);
rgba->flags &= ~(RGBA_FLAG_DIRTY | RGBA_FLAG_NEEDS_CLEAR);
rgba->dirty.x0 = rgba->width;
rgba->dirty.y0 = rgba->height;
rgba->dirty.x1 = 0;
Expand Down

0 comments on commit 1a41433

Please sign in to comment.