swrast: Enable ARB_texture_mirror_clamp_to_edge.
authorRico Schüller <kgbricola@web.de>
Sun, 20 Oct 2013 10:39:56 +0000 (12:39 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 21 Oct 2013 03:12:39 +0000 (20:12 -0700)
v2: fix commit message

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Rico Schüller <kgbricola@web.de>
src/mesa/main/extensions.c

index bf8d7a36b8b42fe0eaafc84cbea6de65513e8330..e8e0a20d8b23843c2f3bf515558b9c0f7523d284 100644 (file)
@@ -408,6 +408,7 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
 #ifdef TEXTURE_FLOAT_ENABLED
    ctx->Extensions.ARB_texture_float = GL_TRUE;
 #endif
+   ctx->Extensions.ARB_texture_mirror_clamp_to_edge = GL_TRUE;
    ctx->Extensions.ARB_texture_non_power_of_two = GL_TRUE;
    ctx->Extensions.ARB_texture_rg = GL_TRUE;
    ctx->Extensions.ARB_texture_compression_rgtc = GL_TRUE;