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

Alexandre Julliard julliard at winehq.org
Fri Oct 19 16:07:38 CDT 2018


Module: wine
Branch: master
Commit: faff3b02fb9d841c13ea1d04d9822248adb8cda9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=faff3b02fb9d841c13ea1d04d9822248adb8cda9

Author: Kodama Nozomi <nozomi.kodama at yahoo.com>
Date:   Tue Oct 16 22:09:13 2018 -1000

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

Signed-off-by: Kodama Nozomi <nozomi.kodama at yahoo.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 65a5914..c2fc4f4 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 */




More information about the wine-cvs mailing list