From 6f1b5052ec0de0f5ed6dd17adeb9639a4cff5c05 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 11 Oct 2013 09:20:56 -0600 Subject: [PATCH] mesa: add comment to clarify ctx->Driver.MapBufferRange() return value --- src/mesa/main/dd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 0806e41a021..29469ce3314 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -575,7 +575,8 @@ struct dd_function_table { GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size ); - /* May return NULL if MESA_MAP_NOWAIT_BIT is set in access: + /* Returns pointer to the start of the mapped range. + * May return NULL if MESA_MAP_NOWAIT_BIT is set in access: */ void * (*MapBufferRange)( struct gl_context *ctx, GLintptr offset, GLsizeiptr length, GLbitfield access, -- 2.30.2