mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers
authorMarek Olšák <marek.olsak@amd.com>
Tue, 10 Feb 2015 00:35:23 +0000 (01:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 17 Feb 2015 16:31:48 +0000 (17:31 +0100)
Cc: 10.5 10.4 10.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/bufferobj.c

index 0c1ce984f4abdd244984931909bc4e14ac6fcd57..0c23b429e5b44c972f77b4e1a67ba512b4a62571 100644 (file)
@@ -1226,7 +1226,7 @@ _mesa_DeleteBuffers(GLsizei n, const GLuint *ids)
             }
          }
 
-         if (ctx->UniformBuffer == bufObj) {
+         if (ctx->AtomicBuffer == bufObj) {
             _mesa_BindBuffer( GL_ATOMIC_COUNTER_BUFFER, 0 );
          }