diff options
author | Nicolai Hähnle <[email protected]> | 2016-01-05 21:47:04 -0500 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-01-07 17:05:54 -0500 |
commit | 6aed083b9304cd718ee5bc7839a6222b982d3e3b (patch) | |
tree | c64641fb9c38223410cf661d3022ee9fd8e36f15 /src/mesa/main/bufferobj.h | |
parent | f41b6cfb07ede2be053c57e38d4d6b9433f90bf1 (diff) |
mesa/bufferobj: make _mesa_delete_buffer_object externally accessible
gl_buffer_object has grown more complicated and requires cleanup. Using this
function from drivers will be more future-proof.
Reviewed-by: Marek Olšák <[email protected]>
Cc: "11.0 11.1" <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r-- | src/mesa/main/bufferobj.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index 3eac96df23e..a5bfe886b39 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -109,6 +109,10 @@ _mesa_initialize_buffer_object(struct gl_context *ctx, GLuint name); extern void +_mesa_delete_buffer_object(struct gl_context *ctx, + struct gl_buffer_object *bufObj); + +extern void _mesa_reference_buffer_object_(struct gl_context *ctx, struct gl_buffer_object **ptr, struct gl_buffer_object *bufObj); |