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





--- Comment #2 from Neil Roberts <[EMAIL PROTECTED]>  2008-12-02 09:14:52 PST 
---
Created an attachment (id=20746)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=20746)
Patch to fix

Here's a patch that fixes this for me. The __glXTexImage3DReqSize wasn't
checking whether the null flag was set so it assumed the request size should be
the same as if the data was there.

Why isn't the img_null_flag set for glTexImage2D? At the moment it just
redundantly uploads empty data if pixels is NULL. I guess it would be a
protocol break to change it now, but if there was a way to get it to work it
would fix this bug in Clutter:

http://bugzilla.openedhand.com/show_bug.cgi?id=1240


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

Reply via email to