aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-11 11:08:21 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:43 +0300
commit02a19684f928c4c5277913499302fb4511b15cad (patch)
treed3a04283d78d0dc4a689e3d15b3f3c90ebf32624 /src/mesa/main/api_exec.c
parentc609bf9786ecc480e0aaf2736324fa8a47592c48 (diff)
mesa: remove FEATURE_ARB_sampler_objects define.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 74a74fb19a5..76028ad49a3 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -71,9 +71,7 @@
#include "polygon.h"
#include "queryobj.h"
#include "readpix.h"
-#if FEATURE_ARB_sampler_objects
#include "samplerobj.h"
-#endif
#include "scissor.h"
#include "stencil.h"
#include "texenv.h"
@@ -873,11 +871,9 @@ _mesa_create_exec_table(struct gl_context *ctx)
SET_TextureStorage2DEXT(exec, _mesa_TextureStorage2DEXT);
SET_TextureStorage3DEXT(exec, _mesa_TextureStorage3DEXT);
-#if FEATURE_ARB_sampler_objects
if (ctx->API != API_OPENGLES2) {
_mesa_init_sampler_object_dispatch(exec);
}
-#endif
if (_mesa_is_desktop_gl(ctx)) {
SET_InvalidateTexSubImage(exec, _mesa_InvalidateTexSubImage);