From a021881ccdaf1d81fb7c8bef4b58b4c037dc4f44 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sat, 1 Dec 2012 12:02:04 -0800 Subject: mesa: Use a single flag for the S3TC extensions that don't require on-line compression Signed-off-by: Ian Romanick Reviewed-by: Eric Anholt Acked-by: Lee Salzman --- src/mesa/drivers/dri/nouveau/nv10_context.c | 2 +- src/mesa/drivers/dri/nouveau/nv20_context.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/nouveau') diff --git a/src/mesa/drivers/dri/nouveau/nv10_context.c b/src/mesa/drivers/dri/nouveau/nv10_context.c index 97fc84d0a85..7eda4e0f917 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_context.c +++ b/src/mesa/drivers/dri/nouveau/nv10_context.c @@ -451,7 +451,7 @@ nv10_context_create(struct nouveau_screen *screen, const struct gl_config *visua ctx->Extensions.NV_texture_rectangle = true; if (ctx->Mesa_DXTn) { ctx->Extensions.EXT_texture_compression_s3tc = true; - ctx->Extensions.S3_s3tc = true; + ctx->Extensions.ANGLE_texture_compression_dxt = true; } /* GL constants. */ diff --git a/src/mesa/drivers/dri/nouveau/nv20_context.c b/src/mesa/drivers/dri/nouveau/nv20_context.c index 52013fd2008..68e90d2c67f 100644 --- a/src/mesa/drivers/dri/nouveau/nv20_context.c +++ b/src/mesa/drivers/dri/nouveau/nv20_context.c @@ -462,7 +462,7 @@ nv20_context_create(struct nouveau_screen *screen, const struct gl_config *visua ctx->Extensions.NV_texture_rectangle = true; if (ctx->Mesa_DXTn) { ctx->Extensions.EXT_texture_compression_s3tc = true; - ctx->Extensions.S3_s3tc = true; + ctx->Extensions.ANGLE_texture_compression_dxt = true; } /* GL constants. */ -- cgit v1.2.3