summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2006-01-10 21:40:11 +0000
committerVladimir Vukicevic <vladimir@pobox.com>2006-01-10 21:40:11 +0000
commita2673d1dc79f4d18a7487b859d4dc9e66a428133 (patch)
tree4fa47095730f98b39aa12148e97f32eaa64665df /src
parentc11a45194ef54f0237ee58cc7ee391466a1f229b (diff)
* src/agl/glitz_wgl_format.c: Set GLITZ_FOURCC_RGB on all formats
Diffstat (limited to 'src')
-rw-r--r--src/agl/glitz_agl_format.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/agl/glitz_agl_format.c b/src/agl/glitz_agl_format.c
index f388f2a..552cd6c 100644
--- a/src/agl/glitz_agl_format.c
+++ b/src/agl/glitz_agl_format.c
@@ -229,8 +229,9 @@ glitz_agl_query_formats (glitz_agl_thread_info_t *thread_info)
AGLPixelFormat pixel_format, *new_pfs;
int n_attribs_list, i;
- format.types = GLITZ_DRAWABLE_TYPE_WINDOW_MASK;
- format.d.id = 0;
+ format.types = GLITZ_DRAWABLE_TYPE_WINDOW_MASK;
+ format.d.id = 0;
+ format.color.fourcc = GLITZ_FOURCC_RGB;
n_attribs_list = sizeof (_attribs_list) / sizeof (GLint *);