mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
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.
This commit is contained in:
parent
f44638fa61
commit
5c06c52116
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue