From e39ea674d0a51bdd10205a1c554f5e25df09156f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 20 Sep 2011 16:07:04 -0700 Subject: [PATCH] mesa/es: Remove redundant texture target validation Mesa doesn't check the parameter passed to glMultiTexCoord*. It does, however, mask the texture value to prevent out-of-bounds writes. This patch will promote this non-conformant behavior to OpenGL ES 1. I don't think anyone will care, and the gets some silly code out of a hot path. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Brian Paul --- src/mesa/main/APIspec.xml | 12 -------- src/mesa/main/es1_conversion.c | 51 ---------------------------------- 2 files changed, 63 deletions(-) diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml index 68e6535ae7a..b957db425f3 100644 --- a/src/mesa/main/APIspec.xml +++ b/src/mesa/main/APIspec.xml @@ -2345,10 +2345,6 @@ - - - -