Przeglądaj źródła

swrast: check for single texture unit in _swrast_choose_triangle()

tags/mesa_7_7_rc1
Brian Paul 16 lat temu
rodzic
commit
88bb4b5935
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/mesa/swrast/s_triangle.c

+ 1
- 0
src/mesa/swrast/s_triangle.c Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz