diff options
author | Brian Paul <[email protected]> | 2009-06-29 15:13:02 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-29 15:27:28 -0600 |
commit | 5c06c52116890342c3988325760a73fd84e2be30 (patch) | |
tree | f67383e149ede32134e9830156ab5d8ffe4188d4 /src | |
parent | f44638fa613b48e8d6551ebcb127336b932ba6c8 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | 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 a1a0c8e881c..be0af6ee707 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; + } } |