Mesa (10.4): mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers
Emil Velikov
evelikov at kemper.freedesktop.org
Wed Feb 18 22:22:17 UTC 2015
Module: Mesa
Branch: 10.4
Commit: 5d04b9eeedc3e22c6f6d899add0b06fc60fd6131
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d04b9eeedc3e22c6f6d899add0b06fc60fd6131
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Feb 10 01:35:23 2015 +0100
mesa: fix AtomicBuffer typo in _mesa_DeleteBuffers
Cc: 10.5 10.4 10.3 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
(cherry picked from commit e8625a29fe0942af2876f0684b06c6ed01939227)
---
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 2bae1bc..1dc7e69 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 );
}
More information about the mesa-commit
mailing list