mesa: implement texture swizzling in swrast

And enable GL_EXT_texture_swizzle for software drivers.
This commit is contained in:
Brian Paul
2009-01-28 10:31:05 -07:00
parent 4a89e51c5f
commit 54c62ba5c3
4 changed files with 73 additions and 8 deletions

View File

@@ -274,6 +274,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
#if FEATURE_EXT_texture_sRGB
ctx->Extensions.EXT_texture_sRGB = GL_TRUE;
#endif
ctx->Extensions.EXT_texture_swizzle = GL_TRUE;
ctx->Extensions.EXT_vertex_array_bgra = GL_TRUE;
ctx->Extensions.IBM_multimode_draw_arrays = GL_TRUE;
ctx->Extensions.MESA_pack_invert = GL_TRUE;