From 0686ccac950bac1a650400b29c47ddaafea22fa9 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 26 Jul 2012 18:46:23 -0700 Subject: [PATCH] mesa/es: Validate glTexImage border in Mesa code rather than the ES wrapper Also validate glCopyTexImage border. This fixes a bug in the APIspec. Previously glTexImage3DOES could be passed a non-zero border without error. NOTE: This is a candidate for stable release branches. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Jordan Justen --- src/mesa/main/APIspec.xml | 8 -------- src/mesa/main/teximage.c | 6 ++++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 09ba424609b..1c5be8c2eba 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -306,10 +306,6 @@ - - - - @@ -1572,10 +1568,6 @@ - - - -