mesa: add comment to clarify ctx->Driver.MapBufferRange() return value
authorBrian Paul <brianp@vmware.com>
Fri, 11 Oct 2013 15:20:56 +0000 (09:20 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Oct 2013 23:07:44 +0000 (17:07 -0600)
src/mesa/main/dd.h

index 0806e41..29469ce 100644 (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,