mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
parent
950f78635a
commit
834394abd9
1 changed files with 2 additions and 2 deletions
|
@ -1241,7 +1241,7 @@ static void read_color_span_##__bpp(GLcontext* ctx,
|
|||
{ \
|
||||
Buffer -= __pixel_size; \
|
||||
UNPACK_COLOR_##__bpp(GET_PIXEL_##__bpp((__type*)Buffer), \
|
||||
&blue[n], &green[n], &red[n]); \
|
||||
&red[n], &green[n], &blue[n]); \
|
||||
alpha[n] = 0; \
|
||||
} \
|
||||
}
|
||||
|
@ -1294,7 +1294,7 @@ static void read_color_pixels_##__bpp(GLcontext* ctx,
|
|||
BYTE *Buffer = fb->BackBuffer + y[n] * WIDTH_BYTES_ALIGN32(fb->width, __bpp) \
|
||||
+ x[n] * __pixel_size; \
|
||||
UNPACK_COLOR_##__bpp(GET_PIXEL_##__bpp((__type*)Buffer), \
|
||||
&blue[n], &green[n], &red[n]); \
|
||||
&red[n], &green[n], &blue[n]); \
|
||||
alpha[n] = 0; \
|
||||
} \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue