aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-26 07:24:15 +0000
committermarha <marha@users.sourceforge.net>2011-01-26 07:24:15 +0000
commit1e1e2c35b405bbb537a6bbe35d9f0831111e272f (patch)
tree16d0f59107a5fc8d9aafe575cddd65a4cfeb78a1 /mesalib/src/mesa/state_tracker/st_extensions.c
parent542d457cc1382d5118bf01e88f4f88b3028be88c (diff)
downloadvcxsrv-1e1e2c35b405bbb537a6bbe35d9f0831111e272f.tar.gz
vcxsrv-1e1e2c35b405bbb537a6bbe35d9f0831111e272f.tar.bz2
vcxsrv-1e1e2c35b405bbb537a6bbe35d9f0831111e272f.zip
mesa xkeyboard-config git update 26 jan 2011
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 */