Mesa (mesa_7_7_branch): mesa: add missing _mesa_lock_texture() call
Brian Paul
brianp at kemper.freedesktop.org
Tue Jan 5 02:16:40 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: 6d845808589b9df84f23551b122533a55dce6bd5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d845808589b9df84f23551b122533a55dce6bd5
Author: Brian Paul <brianp at vmware.com>
Date: Mon Jan 4 19:05:31 2010 -0700
mesa: add missing _mesa_lock_texture() call
---
src/mesa/main/texparam.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index db4c7a5..9e1a889 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -1165,6 +1165,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
return;
}
+ _mesa_lock_texture(ctx, obj);
switch (pname) {
case GL_TEXTURE_MAG_FILTER:
*params = (GLint) obj->MagFilter;
More information about the mesa-commit
mailing list