mesa: fix comments, s/texture/buffer/
This commit is contained in:
@@ -194,7 +194,7 @@ _mesa_reference_buffer_object(GLcontext *ctx,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (*ptr) {
|
if (*ptr) {
|
||||||
/* Unreference the old texture */
|
/* Unreference the old buffer */
|
||||||
GLboolean deleteFlag = GL_FALSE;
|
GLboolean deleteFlag = GL_FALSE;
|
||||||
struct gl_buffer_object *oldObj = *ptr;
|
struct gl_buffer_object *oldObj = *ptr;
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ _mesa_reference_buffer_object(GLcontext *ctx,
|
|||||||
ASSERT(!*ptr);
|
ASSERT(!*ptr);
|
||||||
|
|
||||||
if (bufObj) {
|
if (bufObj) {
|
||||||
/* reference new texture */
|
/* reference new buffer */
|
||||||
/*_glthread_LOCK_MUTEX(tex->Mutex);*/
|
/*_glthread_LOCK_MUTEX(tex->Mutex);*/
|
||||||
if (bufObj->RefCount == 0) {
|
if (bufObj->RefCount == 0) {
|
||||||
/* this buffer's being deleted (look just above) */
|
/* this buffer's being deleted (look just above) */
|
||||||
|
Reference in New Issue
Block a user