mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
bug 647560 followup - put the color components in the right order. a=test-bustage
This commit is contained in:
parent
1d4ff1c480
commit
85a01c345d
@ -1503,8 +1503,8 @@ _cairo_win32_surface_fill_rectangles_stretchdib (HDC dc,
|
||||
BITMAPINFO bi;
|
||||
int pixel = ((color->alpha_short >> 8) << 24) |
|
||||
((color->red_short >> 8) << 16) |
|
||||
((color->blue_short >> 8) << 8) |
|
||||
(color->green_short >> 8);
|
||||
((color->green_short >> 8) << 8) |
|
||||
(color->blue_short >> 8);
|
||||
int i;
|
||||
|
||||
/* Experiments suggest that it's impossible to use FillRect to set the alpha value
|
||||
|
Loading…
x
Reference in New Issue
Block a user