mesa: add comment to clarify ctx->Driver.MapBufferRange() return value

This commit is contained in:
Brian Paul 2013-10-11 09:20:56 -06:00
parent 3710b65823
commit 6f1b5052ec
1 changed files with 2 additions and 1 deletions

View File

@ -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,