summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.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/texstate.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/texstate.c')
-rw-r--r--src/mesa/main/texstate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index fa1fef27eac..1fd09e98538 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -841,11 +841,9 @@ _mesa_free_texture_data(struct gl_context *ctx)
/* GL_ARB_texture_buffer_object */
_mesa_reference_buffer_object(ctx, &ctx->Texture.BufferObject, NULL);
-#if FEATURE_sampler_objects
for (u = 0; u < Elements(ctx->Texture.Unit); u++) {
_mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[u].Sampler, NULL);
}
-#endif
}