diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-16 06:18:10 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-16 06:52:05 (GMT) |
commit | ec6c31b95c8c83d785ae884a5522a82351610461 (patch) | |
tree | df8486cd56996a7504085117bbff7421e0a0cddc /src/testlib/qtest.h | |
parent | 60d2026c8fc9295df2777a84e7831dbea07560d8 (diff) | |
download | Qt-ec6c31b95c8c83d785ae884a5522a82351610461.zip Qt-ec6c31b95c8c83d785ae884a5522a82351610461.tar.gz Qt-ec6c31b95c8c83d785ae884a5522a82351610461.tar.bz2 |
Fixed glsl warnings on mac and stop using texturecoords when not needed
The setTextureCoordsEnabled was enabled in two places, but never disabled
causing it to always be used. When using a varying in a vertex shader
and not using it again in the fragment shader this produces a warning,
and rightly so. Since the property is 100% detectable based on the
fragment shader used, move the logic into the shader selection code
and kill the property all together. This should also speed up
solid filling a bit...
Diffstat (limited to 'src/testlib/qtest.h')
0 files changed, 0 insertions, 0 deletions