mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
swrast: check for single texture unit in _swrast_choose_triangle()
This commit is contained in:
parent
0103d7a47a
commit
88bb4b5935
1 changed files with 1 additions and 0 deletions
|
|
@ -1066,6 +1066,7 @@ _swrast_choose_triangle( GLcontext *ctx )
|
|||
if (ctx->Texture._EnabledCoordUnits == 0x1
|
||||
&& !ctx->FragmentProgram._Current
|
||||
&& !ctx->ATIFragmentShader._Enabled
|
||||
&& ctx->Texture._EnabledUnits == 0x1
|
||||
&& ctx->Texture.Unit[0]._ReallyEnabled == TEXTURE_2D_BIT
|
||||
&& texObj2D->WrapS == GL_REPEAT
|
||||
&& texObj2D->WrapT == GL_REPEAT
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue