From: Marek Olšák Date: Wed, 14 Apr 2010 10:49:20 +0000 (+0200) Subject: st/mesa: put ATI_texture_mirror_once in the right place X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=116c863892bdb55d1f82c4569b27d42bd9826798;p=mesa.git st/mesa: put ATI_texture_mirror_once in the right place --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index eb9547921e9..b2045cf3fcb 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -198,8 +198,6 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.APPLE_vertex_array_object = GL_TRUE; - ctx->Extensions.ATI_texture_mirror_once = GL_TRUE; - ctx->Extensions.MESA_pack_invert = GL_TRUE; ctx->Extensions.NV_blend_square = GL_TRUE; @@ -247,6 +245,7 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_TEXTURE_MIRROR_CLAMP) > 0) { ctx->Extensions.EXT_texture_mirror_clamp = GL_TRUE; + ctx->Extensions.ATI_texture_mirror_once = GL_TRUE; } if (screen->get_param(screen, PIPE_CAP_NPOT_TEXTURES)) {