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





--- Comment #25 from Guillaume Melquiond <[EMAIL PROTECTED]>  2008-07-16 
09:57:13 PST ---
I did a bit of gdbing and here is what I noticed.

In glx/x11/glxext.c, getVisualConfigs performs a GLXGetVisualConfigs request
and then calls createConfigsFromProperties which calls
__glXInitializeVisualConfigFromTags which parses the reply. Everything goes
well at first, but on the very last property in the reply stream, the parser
reads a spurious GLX_RED_SIZE item with value 0. And from then, everything goes
down, since the DRI code does not understand why someone would like a R0G8B8
visual.

If I overwrite the redBits field of the visual struct with 8, opengl
applications seem to work fine. I have not yet looked why the reply stream is
corrupted (?).


-- 
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
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to