From 4a9522a5a0c11b6e162188337fd5938f9e2695fd Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 18 Jul 2013 17:39:22 -0700 Subject: 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 Reviewed-by: Kenneth Graunke [v1] Reviewed-by: Jordan Justen [v1] Cc: mesa-stable@lists.freedesktop.org --- src/mesa/main/tests/dispatch_sanity.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa/main/tests/dispatch_sanity.cpp') diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 45642562842..8d3774775fc 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -527,9 +527,6 @@ const struct function gl_core_functions_possible[] = { { "glEGLImageTargetRenderbufferStorageOES", 31, -1 }, { "glEGLImageTargetTexture2DOES", 31, -1 }, - /* GL_EXT_framebuffer_object */ - { "glBindFramebufferEXT", 31, -1 }, - /* GL 3.2 */ { "glGetInteger64i_v", 32, -1 }, { "glGetBufferParameteri64v", 32, -1 }, -- cgit v1.2.3