From 4879b766015eebd01911b40df8bef10081b8fce3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 17 Sep 2015 09:45:42 -0600 Subject: [PATCH] mesa: const-qualify buffer_object_subdata_range_good() bufObj parameter Reviewed-by: Matt Turner --- src/mesa/main/bufferobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2