mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
@@ -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; \
|
||||
} \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user