diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2005-12-12 19:06:54 +0000 |
---|---|---|
committer | Vladimir Vukicevic <vladimir@pobox.com> | 2005-12-12 19:06:54 +0000 |
commit | 0055b28ad6bc3a565fba38a424ca37ac6e2a143d (patch) | |
tree | 824a50ef8a6fbeb42d938ba9cd21ee0f772b1954 /src | |
parent | 7d512f204af7e2706ab4b2c681e520f28f6a4700 (diff) |
src/wgl/glitz_wgl_format.c: Set GLITZ_FOURCC_RGB on all formats
Diffstat (limited to 'src')
-rw-r--r-- | src/wgl/glitz_wgl_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wgl/glitz_wgl_format.c b/src/wgl/glitz_wgl_format.c index 90332e1..e15d992 100644 --- a/src/wgl/glitz_wgl_format.c +++ b/src/wgl/glitz_wgl_format.c @@ -175,6 +175,7 @@ _glitz_wgl_query_formats (glitz_wgl_screen_info_t *screen_info) format.d.color.green_size = pfd.cGreenBits; format.d.color.blue_size = pfd.cBlueBits; format.d.color.alpha_size = pfd.cAlphaBits; + format.d.color.fourcc = GLITZ_FOURCC_RGB; format.d.depth_size = pfd.cDepthBits; format.d.stencil_size = pfd.cStencilBits; @@ -210,6 +211,7 @@ _glitz_wgl_query_formats_using_pixel_format (glitz_wgl_screen_info_t *screen_inf for (i = 1; i <= num_pixel_formats; i++) { format.d.id = 0; format.types = 0; + format.d.color.fourcc = GLITZ_FOURCC_RGB; #define ASK_QUESTION(q,a) (question=(q),wgl->get_pixel_format_attrib_iv (screen_info->root_dc, i, 0, 1, &question,(a))) |