opengl32/tests: PFD_TYPE_RGBA should be in the iPixelType field, not in the flag field.

Signed-off-by: Kodama Nozomi <nozomi.kodama@yahoo.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Kodama Nozomi 2018-10-16 22:09:13 -10:00 committed by Alexandre Julliard
parent 417e94f199
commit faff3b02fb

View file

@ -244,8 +244,7 @@ static void test_choosepixelformat(void)
PIXELFORMATDESCRIPTOR pfd = {
sizeof(PIXELFORMATDESCRIPTOR),
1, /* version */
PFD_DRAW_TO_WINDOW |
PFD_SUPPORT_OPENGL |
PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL,
PFD_TYPE_RGBA,
0, /* color depth */
0, 0, 0, 0, 0, 0, /* color bits */