diff options
author | Benjamin Franzke <[email protected]> | 2011-01-21 14:29:32 +0100 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-01-24 16:41:29 -0500 |
commit | b0669837808dee576dd05c8c335ca78264dd8e80 (patch) | |
tree | 5158c59b21fd7b50977916ccc24073489015e912 /src/mesa/state_tracker/st_extensions.c | |
parent | c5c1dc8b3fb9495cc4dc54fd80a801c9e826b227 (diff) |
st/mesa: Enable EXT_texture_format_BGRA8888 for gles1/2
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 974fd78d7c8..d7ed7ea3a5c 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/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; |