mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
st/mesa: plug in default buffer object driver functions
In particular, this plugs in the new ClearBufferSubData() fallback driver function.
This commit is contained in:
parent
5f7bc0c759
commit
787dadbeea
1 changed files with 3 additions and 0 deletions
|
|
@ -422,6 +422,9 @@ st_bufferobj_validate_usage(struct st_context *st,
|
|||
void
|
||||
st_init_bufferobject_functions(struct dd_function_table *functions)
|
||||
{
|
||||
/* plug in default driver fallbacks (such as for ClearBufferSubData) */
|
||||
_mesa_init_buffer_object_functions(functions);
|
||||
|
||||
functions->NewBufferObject = st_bufferobj_alloc;
|
||||
functions->DeleteBuffer = st_bufferobj_free;
|
||||
functions->BufferData = st_bufferobj_data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue