summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-04 19:05:31 -0700
committerBrian Paul <[email protected]>2010-01-04 19:05:31 -0700
commit6d845808589b9df84f23551b122533a55dce6bd5 (patch)
treee4d2f422aa8c5818fa79531acef812271b68a1cb
parentb434a816d7a4b298e16a8b51b54e5a2d5ea28da8 (diff)
mesa: add missing _mesa_lock_texture() call
-rw-r--r--src/mesa/main/texparam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index db4c7a5edad..9e1a889bced 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;