From f3ae42c0fd910b7f9feb9be91ccb056bce0cd999 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 22 Dec 2005 23:31:15 +0000 Subject: [PATCH] small fix towards new glitz interface --- hw/xgl/xglcmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &&