mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
mesa: add missing _mesa_reference_texobj() calls for texture array targets
This commit is contained in:
parent
88e0b92a74
commit
7c48719a5f
1 changed files with 2 additions and 2 deletions
|
|
@ -984,11 +984,11 @@ _mesa_BindTexture( GLenum target, GLuint texName )
|
|||
ASSERT(texUnit->CurrentRect);
|
||||
break;
|
||||
case GL_TEXTURE_1D_ARRAY_EXT:
|
||||
texUnit->Current1DArray = newTexObj;
|
||||
_mesa_reference_texobj(&texUnit->Current1DArray, newTexObj);
|
||||
ASSERT(texUnit->Current1DArray);
|
||||
break;
|
||||
case GL_TEXTURE_2D_ARRAY_EXT:
|
||||
texUnit->Current2DArray = newTexObj;
|
||||
_mesa_reference_texobj(&texUnit->Current2DArray, newTexObj);
|
||||
ASSERT(texUnit->Current2DArray);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue