diff --git a/dll/opengl/opengl32/swimpl.c b/dll/opengl/opengl32/swimpl.c index 7f2808d1b0..559196e183 100644 --- a/dll/opengl/opengl32/swimpl.c +++ b/dll/opengl/opengl32/swimpl.c @@ -1241,10 +1241,10 @@ 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; \ } \ -} +} CORE-16221 - Fixed by swap at 1244. READ_COLOR_SPAN(8, BYTE, 1) READ_COLOR_SPAN(16, USHORT, 2) READ_COLOR_SPAN(24, ULONG, 3)