Module: Mesa Branch: master Commit: 5c06c52116890342c3988325760a73fd84e2be30 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c06c52116890342c3988325760a73fd84e2be30
Author: Brian Paul <[email protected]> Date: Mon Jun 29 15:13:02 2009 -0600 st/mesa: enable GL_ARB_framebuffer_object All gallium drivers should be able to support mixed-size color/depth/stencil buffers. If not, we'll need a new PIPE_CAP_ query. --- src/mesa/state_tracker/st_extensions.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index a1a0c8e..be0af6e 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -290,4 +290,10 @@ void st_init_extensions(struct st_context *st) PIPE_TEXTURE_USAGE_SAMPLER, 0)) { ctx->Extensions.MESA_ycbcr_texture = GL_TRUE; } + + /* GL_ARB_framebuffer_object */ + if (ctx->Extensions.EXT_packed_depth_stencil) { + /* we support always support GL_EXT_framebuffer_blit */ + ctx->Extensions.ARB_framebuffer_object = GL_TRUE; + } } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
