Mesa (master): mesa: update comment for UniformBufferSize to indicate size is in bytes

Brian Paul brianp at kemper.freedesktop.org
Tue Jul 1 15:43:49 UTC 2014


Module: Mesa
Branch: master
Commit: ad6e1e12cc2ed8b07cebc555b2ea0029037f7d93
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad6e1e12cc2ed8b07cebc555b2ea0029037f7d93

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jul  1 08:19:26 2014 -0600

mesa: update comment for UniformBufferSize to indicate size is in bytes

Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 src/mesa/main/mtypes.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index eaf3776..e78bcde 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2560,7 +2560,7 @@ struct gl_uniform_block
    GLuint Binding;
 
    /**
-    * Minimum size of a buffer object to back this uniform buffer
+    * Minimum size (in bytes) of a buffer object to back this uniform buffer
     * (GL_UNIFORM_BLOCK_DATA_SIZE).
     */
    GLuint UniformBufferSize;




More information about the mesa-commit mailing list