aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-26 08:22:59 +0000
committermarha <marha@users.sourceforge.net>2011-01-26 08:22:59 +0000
commit048e4ee930453823c4123abe846b63315283e297 (patch)
treec5e5506ff35408284dbc87a1e8a1b66f103b99ab /mesalib/src/mesa/state_tracker/st_extensions.c
parent9ad7416b909d358cb254a48eaccd7888d684fcb6 (diff)
parent1e1e2c35b405bbb537a6bbe35d9f0831111e272f (diff)
downloadvcxsrv-048e4ee930453823c4123abe846b63315283e297.tar.gz
vcxsrv-048e4ee930453823c4123abe846b63315283e297.tar.bz2
vcxsrv-048e4ee930453823c4123abe846b63315283e297.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_extensions.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_extensions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_extensions.c b/mesalib/src/mesa/state_tracker/st_extensions.c
index d7ed7ea3a..a81cbe85d 100644
--- a/mesalib/src/mesa/state_tracker/st_extensions.c
+++ b/mesalib/src/mesa/state_tracker/st_extensions.c
@@ -420,6 +420,12 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.MESA_ycbcr_texture = GL_TRUE;
}
+ /* GL_EXT_texture_array */
+ if (screen->get_param(screen, PIPE_CAP_ARRAY_TEXTURES)) {
+ ctx->Extensions.EXT_texture_array = GL_TRUE;
+ ctx->Extensions.MESA_texture_array = GL_TRUE;
+ }
+
/* GL_ARB_framebuffer_object */
if (ctx->Extensions.EXT_packed_depth_stencil) {
/* we support always support GL_EXT_framebuffer_blit */