st/mesa: trivially enable GL_ATI_texture_env_combine3
authorMarek Olšák <maraeo@gmail.com>
Sat, 5 Jun 2010 17:33:29 +0000 (19:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 5 Jun 2010 17:39:16 +0000 (19:39 +0200)
This extension is implemented in the texenv program.
Gallium drivers pass patched glean/texCombine.
(I am going to send the patch soon)

Catalyst9.3 advertises this extension too so I don't see a reason we shouldn't.

src/mesa/state_tracker/st_extensions.c

index 2c2e10dead780c774e380dce16b9d84a53a84702..8204fefc4c6175b957aef7e862cad469bfd40792 100644 (file)
@@ -219,6 +219,8 @@ void st_init_extensions(struct st_context *st)
 
    ctx->Extensions.APPLE_vertex_array_object = GL_TRUE;
 
+   ctx->Extensions.ATI_texture_env_combine3 = GL_TRUE;
+
    ctx->Extensions.MESA_pack_invert = GL_TRUE;
 
    ctx->Extensions.NV_blend_square = GL_TRUE;