From: Brian Paul Date: Thu, 17 Sep 2015 15:45:42 +0000 (-0600) Subject: mesa: const-qualify buffer_object_subdata_range_good() bufObj parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4879b766015eebd01911b40df8bef10081b8fce3;p=mesa.git mesa: const-qualify buffer_object_subdata_range_good() bufObj parameter Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 23da83e8b80..f87cea97557 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -246,7 +246,7 @@ bufferobj_range_mapped(const struct gl_buffer_object *obj, */ static bool buffer_object_subdata_range_good(struct gl_context *ctx, - struct gl_buffer_object *bufObj, + const struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, bool mappedRange, const char *caller) {