diff options
author | Timothy Arceri <[email protected]> | 2017-05-12 17:10:10 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-17 10:12:03 +1000 |
commit | 5d29e6aab8ac05cbd73433b45958b2f82eefa91d (patch) | |
tree | db63712297054ce10869c15684d4788209390cad /src/mesa/main/bufferobj.h | |
parent | 624dc2833e0d0263b434e234437dfbd9f4840b75 (diff) |
mesa: create validate_buffer_sub_data() helper
This change assumes meta will always pass valid arguments to
_mesa_buffer_sub_data().
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r-- | src/mesa/main/bufferobj.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index 024d07daaf8..a7a9673b852 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -139,8 +139,7 @@ _mesa_buffer_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, extern void _mesa_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, - GLintptr offset, GLsizeiptr size, const GLvoid *data, - const char *func); + GLintptr offset, GLsizeiptr size, const GLvoid *data); extern void _mesa_buffer_unmap_all_mappings(struct gl_context *ctx, |