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:
parent
417e94f199
commit
faff3b02fb
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue