mesa: add missing _mesa_lock_texture() call
authorBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 02:05:31 +0000 (19:05 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 02:05:31 +0000 (19:05 -0700)
src/mesa/main/texparam.c

index db4c7a5edad8a9c6ed8abd4c727b11eee0324962..9e1a889bced7bc7ee0e7d364f524da3c3f8ac471 100644 (file)
@@ -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;