Commit faff3b02 authored by Kodama Nozomi's avatar Kodama Nozomi Committed by Alexandre Julliard

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

parent 417e94f1
...@@ -244,8 +244,7 @@ static void test_choosepixelformat(void) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment