diff options
author | Brian Paul <[email protected]> | 2012-06-22 08:43:58 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-22 08:44:00 -0600 |
commit | 09af5783b3eab02288fb55ff98514c80f23062a1 (patch) | |
tree | ef707f3852fa3b5eeefab9b1cb4ddc02ea7fc761 /src/mesa/main/bufferobj.c | |
parent | b8068afafacc3071cacfbaf71f176a2943341382 (diff) |
mesa: fix comments on UBO buffer binding functions
The old comments were for transform feedback.
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r-- | src/mesa/main/bufferobj.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 5f724ace30c..ea48af97e98 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -2021,8 +2021,11 @@ set_ubo_binding(struct gl_context *ctx, } /** - * Specify a buffer object to receive vertex shader results. Plus, - * specify the starting offset to place the results, and max size. + * Bind a region of a buffer object to a uniform block binding point. + * \param index the uniform buffer binding point index + * \param bufObj the buffer object + * \param offset offset to the start of buffer object region + * \param size size of the buffer object region */ static void bind_buffer_range_uniform_buffer(struct gl_context *ctx, @@ -2054,8 +2057,8 @@ bind_buffer_range_uniform_buffer(struct gl_context *ctx, /** - * Specify a buffer object to receive vertex shader results. - * As above, but start at offset = 0. + * Bind a buffer object to a uniform block binding point. + * As above, but offset = 0. */ static void bind_buffer_base_uniform_buffer(struct gl_context *ctx, |