[Mesa-dev] [PATCH] mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers
Marek Olšák
maraeo at gmail.com
Wed Feb 11 06:24:13 PST 2015
From: Marek Olšák <marek.olsak at amd.com>
Cc: 10.5 10.4 10.3 <mesa-stable at lists.freedesktop.org>
---
src/mesa/main/bufferobj.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 0c1ce98..0c23b42 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 );
}
--
2.1.0
More information about the mesa-dev
mailing list