mesa: Treat glBindRenderbuffer and glBindRenderbufferEXT correctly
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Jul 2013 00:38:16 +0000 (17:38 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Aug 2013 17:46:05 +0000 (10:46 -0700)
commit97965e87fc0771a99c16b639caed01e5d0b64353
tree37dd8ee8845de1fa0e4e180c0d215a962bd470a7
parent46b6f79fea1042604ebb61a8214188fb807316ff
mesa: Treat glBindRenderbuffer and glBindRenderbufferEXT correctly

Allow user-generated names for glBindRenderbufferEXT on desktop GL.
Disallow its use altogether for core profiles.

v2: Disallow glBindRenderbufferEXT in 3.1 by not installing it in the
dispatch table.  Suggested by Jordan.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v1]
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> [v1]
Cc: mesa-stable@lists.freedesktop.org
src/mapi/glapi/gen/EXT_framebuffer_object.xml
src/mesa/main/fbobject.c
src/mesa/main/tests/dispatch_sanity.cpp