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





--- Comment #5 from Brian Paul <[EMAIL PROTECTED]>  2008-11-11 06:46:46 PST ---
Unfortunately, changing reply_is_always_array from GL_TRUE to GL_FALSE doesn't
give the right results either.  I tried that yesterday.

If you write a test program that calls glAreTexturesResident() with n=3, then
set a breakpoint in __glXReadReply() you'll see that bytes=1 and extra=3.

That's because reply looks like this:

{type = 1 '\001', unused = 0 '\0', sequenceNumber = 43, length = 1, retval = 0, 
  size = 1, pad3 = 16, pad4 = 0, pad5 = 0, pad6 = 0} and size=1.  So bytes =
1*1.

So, changing reply_is_always_array to GL_TRUE will work if n=1, but will not
work for n>1.


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