From: Brian Paul Date: Thu, 7 May 2009 19:10:48 +0000 (-0600) Subject: mesa: fix comments, s/texture/buffer/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=105c8529e78db961fee832b6248c3bcf59668bad;p=mesa.git mesa: fix comments, s/texture/buffer/ --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 641e5d7c3b3..a9833762518 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) */