[Mesa-dev] [Bug 31514] New: isBuffer returns true for unbound buffers
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 9 15:31:45 PST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31514
Summary: isBuffer returns true for unbound buffers
Product: Mesa
Version: 7.9
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: enne at chromium.org
According to the OpenGL spec, "A name returned by glGenBuffers, but not yet
associated with a buffer object by calling glBindBuffer, is not the name of a
buffer object."
GLuint buf;
glGenBuffers(1, &buf);
ASSERT(!glIsBuffer(buf));
In Mesa, glIsBuffer returns true for such an unbound buffer. Other glIs*
functions (e.g. glIsFramebuffer) appear to behave correctly.
--
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