mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 13:33:32 +08:00
parent
950f78635a
commit
834394abd9
@ -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 New Issue
Block a user