st/mesa: add texture buffer object support to state tracker (v1.1)
This adds the necessary changes to the st to allow texture buffer object support if the driver advertises it. v1.1: remove extra blank line and whitespace Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -643,4 +643,6 @@ void st_init_extensions(struct st_context *st)
|
||||
if (ctx->Const.MinMapBufferAlignment >= 64) {
|
||||
ctx->Extensions.ARB_map_buffer_alignment = GL_TRUE;
|
||||
}
|
||||
if (screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OBJECTS))
|
||||
ctx->Extensions.ARB_texture_buffer_object = GL_TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user