[Mesa-dev] [Bug 36761] New: glGetAttachedObjects ignores maxcount
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 2 01:10:04 PDT 2011
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: mesa-dev at lists.freedesktop.org
ReportedBy: curaga at operamail.com
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.
More information about the mesa-dev
mailing list