From: Brian Paul Date: Fri, 11 Oct 2013 15:20:56 +0000 (-0600) Subject: mesa: add comment to clarify ctx->Driver.MapBufferRange() return value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f1b5052ec0de0f5ed6dd17adeb9639a4cff5c05;p=mesa.git mesa: add comment to clarify ctx->Driver.MapBufferRange() return value --- 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,