From faff3b02fb9d841c13ea1d04d9822248adb8cda9 Mon Sep 17 00:00:00 2001 From: Kodama Nozomi Date: Tue, 16 Oct 2018 22:09:13 -1000 Subject: [PATCH] opengl32/tests: PFD_TYPE_RGBA should be in the iPixelType field, not in the flag field. Signed-off-by: Kodama Nozomi Signed-off-by: Alexandre Julliard --- dlls/opengl32/tests/opengl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c index 65a591461de..c2fc4f40923 100644 --- a/dlls/opengl32/tests/opengl.c +++ b/dlls/opengl32/tests/opengl.c @@ -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 */