summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-14 12:49:20 +0200
committerMarek Olšák <[email protected]>2010-04-14 12:55:25 +0200
commit116c863892bdb55d1f82c4569b27d42bd9826798 (patch)
tree02ddf23022725d0a3e5690992cd2fab50b42390c /src/mesa/state_tracker
parent30d99ff7e0c52f1cb647d03464cc16830a006c72 (diff)
st/mesa: put ATI_texture_mirror_once in the right place
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_extensions.c3
1 files changed, 1 insertions, 2 deletions
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)) {