diff options
author | Brian Paul <[email protected]> | 2013-10-11 09:20:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-11 17:07:44 -0600 |
commit | 6f1b5052ec0de0f5ed6dd17adeb9639a4cff5c05 (patch) | |
tree | 189c6105306c661fc65a6595f720d6368fadcfac /src/mesa/main/dd.h | |
parent | 3710b658237d8417167659239be42e23878a0953 (diff) |
mesa: add comment to clarify ctx->Driver.MapBufferRange() return value
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |