https://bugs.freedesktop.org/show_bug.cgi?id=36761

           Summary: glGetAttachedObjects ignores maxcount
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The doc states "It returns in objects as many of the handles of these shader
objects as it can, up to a maximum of maxCount.", however, Mesa returns them
all at once ignoring the maxcount param.

Since in my test the array is GLhandleARB shaders[8], and Mesa returns over 32k
handles, I get nice segfaults.


r600g Mesa 7.11-devel (git-608a4a1)

This can be seen in Irrlicht example 10, when enabling glsl shaders.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to