From: Marek Olšák Date: Tue, 10 Feb 2015 00:35:23 +0000 (+0100) Subject: mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8625a29fe0942af2876f0684b06c6ed01939227;p=mesa.git mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers Cc: 10.5 10.4 10.3 Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 0c1ce984f4a..0c23b429e5b 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -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 ); }