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

           Summary: __glXGetArrayType returns enabled state, not type
           Product: Mesa
           Version: 6.5
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: GLX
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


In src/glx/x11/indirect_vertex_array.c:__glXGetArrayType there is a copy-paste
bug that causes the function to return the enabled state rather than the type
of the array. The result is that calls to glGetIntegerv(GL_VERTEX_ARRAY_TYPE)
(and similarly for other arrays) returns the wrong value when using indirect
rendering.

I've found this with 6.5.1, someone else has reproduced it with 6.5.2, and I've
checked that the code is still present and incorrect in 6.5.3 (I haven't tried
rebuilding my X server to verify it experimentally though).


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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to