aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-25 07:15:07 +0000
committermarha <marha@users.sourceforge.net>2011-01-25 07:15:07 +0000
commitdb83ae15824cd5a710d61684733f3dc09517748b (patch)
tree0593f2485d27f1e21bfa883eb9e8a6446018b83a /mesalib/src/mesa/state_tracker/st_extensions.c
parent75c2deab5262ebfb4aea4fe63e144488150f921a (diff)
downloadvcxsrv-db83ae15824cd5a710d61684733f3dc09517748b.tar.gz
vcxsrv-db83ae15824cd5a710d61684733f3dc09517748b.tar.bz2
vcxsrv-db83ae15824cd5a710d61684733f3dc09517748b.zip
mesa git update 25 jan 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_extensions.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_extensions.c b/mesalib/src/mesa/state_tracker/st_extensions.c
index 974fd78d7..d7ed7ea3a 100644
--- a/mesalib/src/mesa/state_tracker/st_extensions.c
+++ b/mesalib/src/mesa/state_tracker/st_extensions.c
@@ -260,6 +260,8 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.EXT_texture_env_dot3 = GL_TRUE;
ctx->Extensions.EXT_texture_lod_bias = GL_TRUE;
ctx->Extensions.EXT_vertex_array_bgra = GL_TRUE;
+ if (ctx->API == API_OPENGLES || ctx->API == API_OPENGLES2)
+ ctx->Extensions.EXT_texture_format_BGRA8888 = GL_TRUE;
ctx->Extensions.APPLE_vertex_array_object = GL_TRUE;