mesa: add comment to clarify ctx->Driver.MapBufferRange() return value
This commit is contained in:
parent
3710b65823
commit
6f1b5052ec
|
@ -575,7 +575,8 @@ struct dd_function_table {
|
||||||
GLintptr readOffset, GLintptr writeOffset,
|
GLintptr readOffset, GLintptr writeOffset,
|
||||||
GLsizeiptr size );
|
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,
|
void * (*MapBufferRange)( struct gl_context *ctx, GLintptr offset,
|
||||||
GLsizeiptr length, GLbitfield access,
|
GLsizeiptr length, GLbitfield access,
|
||||||
|
|
Loading…
Reference in New Issue