search for: ext_texture_compression_s3tc

Displaying 2 results from an estimated 2 matches for "ext_texture_compression_s3tc".

2009 Feb 17
16
Disabling S3TC support for Wine 1.1.14 How do I patch?
I may be an absolute noob for asking this, but I've been at this for about 3 hours now. So I've been trying to disable S3TC support so I can play this game without getting scrambled graphics. My search lead me to the code for a patch listed here http://bugs.winehq.org/attachment.cgi?id=19211 My question is, what do I do with all that code? how do I get it into my current version? Do I
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
...t.c @@ -460,6 +460,10 @@ nv20_context_create(struct nouveau_screen *screen, const struct gl_config *visua ctx->Extensions.ARB_texture_env_dot3 = true; ctx->Extensions.NV_fog_distance = true; ctx->Extensions.NV_texture_rectangle = true; + if (ctx->Mesa_DXTn) { + ctx->Extensions.EXT_texture_compression_s3tc = true; + ctx->Extensions.S3_s3tc = true; + } /* GL constants. */ ctx->Const.MaxTextureCoordUnits = NV20_TEXTURE_UNITS; diff --git a/src/mesa/drivers/dri/nouveau/nv20_state_tex.c b/src/mesa/drivers/dri/nouveau/nv20_state_tex.c index 799510d..d8bfdf2 100644 --- a/src/mesa/drivers/dri/no...