Hi,

commit  shown below causes this error:

glxgears: Error: couldn't get an RGB, Double-buffered visual.

reverting fixes the problem (found by bisect). All other opengl apps also 
fail.

I'm using current git of drm/mesa/ati-radeon with RS690 and Xorg 
1.5.0RC6/x86_64.

Thanks

Marvin


commit 1724334d7c82abe55b6506dfe369df4facae6f06
Author: Dave Miller <[EMAIL PROTECTED]>
Date:   Sat Aug 9 16:44:10 2008 +1000

    dri: fix crash in driGetConfigAttribIndex

    Accessing a GLboolean via an int pointer on big-endian == bad.

diff --git a/src/mesa/drivers/dri/common/utils.c 
b/src/mesa/drivers/dri/common/utils.c
index 7fbe0d8..c723dfd 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -836,6 +836,10 @@ driGetConfigAttribIndex(const __DRIconfig *config,
     case __DRI_ATTRIB_SWAP_METHOD:
        break;

+    case __DRI_ATTRIB_FLOAT_MODE:
+        *value = config->modes.floatMode;
+        break;
+
     default:
        *value = *(unsigned int *)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to