From 5b44a77428863292d49aeed2960afbde5ee8f509 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 27 Jul 2012 07:24:37 -0700 Subject: [PATCH] mesa/es: Validate glGenerateMipmap target in Mesa code rather than the ES wrapper v2: Add proper core-profile and GLES3 filtering. v3: Fix a typo in GL_TEXTURE_2D_ARRAY checking. v4: Change !_mesa_is_desktop_gl tests to _mesa_is_gles test. The test around GL_TEXTURE_2D_ARRAY got some other changes because that enum is also available with GLES3 (which uses API_OPENGLES2). Based on review feedback from Eric Anholt. Signed-off-by: Ian Romanick --- src/mesa/main/APIspec.xml | 7 ------- src/mesa/main/fbobject.c | 11 +++++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 9aa38187e59..2b06367282b 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -2061,13 +2061,6 @@ - - - - - - -