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





--- Comment #3 from Friedrich Oslage <[EMAIL PROTECTED]>  2008-07-23 11:46:41 
PST ---
Created an attachment (id=17842)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=17842)
concept-patch to fix alignment issues

Sorry for the long delay, couldn't test it any sooner :(

> My guess is that the problem is with __GLcontectModes having GLboolean fields
> which we try to access as (unsigned int). Either change GLboolean to GLint in
> glcore.h or add padding for GLboolean fields to (unsigned int), to check if it
> works.

You were right, simply changing GLboolean to GLint fixes the unaligned access.
However xserver uses it's own copy of __GLcontextModes(named __GLXconfig) which
would also need to be changed. Can we use this bug for xserver as well or
should I file another bug?

I attached the changes I made to get it working.


-- 
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