Mesa (master): mesa: fix comments, s/texture/buffer/

Brian Paul brianp at kemper.freedesktop.org
Thu May 7 20:35:43 UTC 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu May  7 13:10:48 2009 -0600

mesa: fix comments, s/texture/buffer/

---

 src/mesa/main/bufferobj.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 641e5d7..a983376 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -194,7 +194,7 @@ _mesa_reference_buffer_object(GLcontext *ctx,
       return;
 
    if (*ptr) {
-      /* Unreference the old texture */
+      /* Unreference the old buffer */
       GLboolean deleteFlag = GL_FALSE;
       struct gl_buffer_object *oldObj = *ptr;
 
@@ -227,7 +227,7 @@ _mesa_reference_buffer_object(GLcontext *ctx,
    ASSERT(!*ptr);
 
    if (bufObj) {
-      /* reference new texture */
+      /* reference new buffer */
       /*_glthread_LOCK_MUTEX(tex->Mutex);*/
       if (bufObj->RefCount == 0) {
          /* this buffer's being deleted (look just above) */




More information about the mesa-commit mailing list