summaryrefslogtreecommitdiff
path: root/hw/xgl
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-12-22 23:31:15 +0000
committerDave Airlie <airlied@linux.ie>2005-12-22 23:31:15 +0000
commitf3ae42c0fd910b7f9feb9be91ccb056bce0cd999 (patch)
treeb611b36660fd467873d493cbce31d1ab6ad2014c /hw/xgl
parent2af7e94eab6847159a3439301ecc93c62a12b1a0 (diff)
small fix towards new glitz interface
Diffstat (limited to 'hw/xgl')
-rw-r--r--hw/xgl/xglcmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xgl/xglcmap.c b/hw/xgl/xglcmap.c
index 251616549..d19e64b55 100644
--- a/hw/xgl/xglcmap.c
+++ b/hw/xgl/xglcmap.c
@@ -269,7 +269,7 @@ xglInitPixmapFormats (ScreenPtr pScreen)
do {
format = glitz_find_format (pScreenPriv->drawable,
0, NULL, k++);
- if (format && format->type == GLITZ_FORMAT_TYPE_COLOR)
+ if (format && format->color.fourcc == GLITZ_FOURCC_RGB)
{
/* find best matching sufficient format */
if (format->color.red_size >= rs &&