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
1 changed files with 1 additions and 2 deletions

View File

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