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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev