st/mesa: support for 1D/2D texture arrays

This commit is contained in:
Brian Paul
2011-01-25 20:26:22 -07:00
parent c0d941877b
commit 9b56a2cb62
3 changed files with 12 additions and 5 deletions

View File

@@ -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 */