mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
mesa: add missing _mesa_lock_texture() call
This commit is contained in:
parent
b434a816d7
commit
6d84580858
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue