diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-04 19:05:31 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-04 19:05:31 -0700 |
commit | 6d845808589b9df84f23551b122533a55dce6bd5 (patch) | |
tree | e4d2f422aa8c5818fa79531acef812271b68a1cb | |
parent | b434a816d7a4b298e16a8b51b54e5a2d5ea28da8 (diff) |
mesa: add missing _mesa_lock_texture() call
-rw-r--r-- | 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 db4c7a5eda..9e1a889bce 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; |