summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-07-18 17:39:22 -0700
committerIan Romanick <ian.d.romanick@intel.com>2013-08-06 10:46:05 -0700
commit4a9522a5a0c11b6e162188337fd5938f9e2695fd (patch)
treeb0fdfa4bc7fe25c42138ffaececec5ff7d2ad163 /src/mapi
parent97965e87fc0771a99c16b639caed01e5d0b64353 (diff)
mesa: Treat glBindFramebuffer and glBindFramebufferEXT more correctly
Allow user-generated names for glBindFramebufferEXT on desktop GL. Disallow its use altogether for core profiles. Names bound with glBindFramebuffer in desktop OpenGL are still (incorrectly) shared across the share group instead of being per-context. This gets us a bit closer to being strictly conformant. v2: Disallow glBindFramebufferEXT 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
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_framebuffer_object.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/EXT_framebuffer_object.xml b/src/mapi/glapi/gen/EXT_framebuffer_object.xml
index 5fea61610b5..2cf75bc6783 100644
--- a/src/mapi/glapi/gen/EXT_framebuffer_object.xml
+++ b/src/mapi/glapi/gen/EXT_framebuffer_object.xml
@@ -112,7 +112,7 @@
<return type="GLboolean"/>
</function>
- <function name="BindFramebufferEXT" offset="assign">
+ <function name="BindFramebufferEXT" offset="assign" deprecated="3.1">
<param name="target" type="GLenum"/>
<param name="framebuffer" type="GLuint"/>
<glx rop="4319"/>