http://bugs.freedesktop.org/show_bug.cgi?id=13358





--- Comment #28 from Guillaume Melquiond <[EMAIL PROTECTED]>  2008-07-17 
08:01:18 PST ---
You are right, this is the same as bug #13863. It's really unfortunate the
patch from the bug-report wasn't applied. Anyway, the patch below is the patch
I tested, and it does indeed fix glx applications that rely on mesa git when
using xserver 1.4.

diff --git a/GL/glx/glxcmds.c b/GL/glx/glxcmds.c
index 900a347..3b1272b 100644
--- a/GL/glx/glxcmds.c
+++ b/GL/glx/glxcmds.c
@@ -992,6 +992,10 @@ int DoGetVisualConfigs(__GLXclientState *cl, unsigned
screen,
        buf[p++] = GLX_TRANSPARENT_INDEX_VALUE;
        buf[p++] = modes->transparentIndex;

+       while (p < __GLX_TOTAL_CONFIG) {
+           buf[p++] = 0;
+       }
+
        if ( do_swap ) {
            __GLX_SWAP_INT_ARRAY(buf, __GLX_TOTAL_CONFIG);
        }


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
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=/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to