summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpixmapdata_gl.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-09-16 06:18:10 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-09-16 06:52:05 (GMT)
commitec6c31b95c8c83d785ae884a5522a82351610461 (patch)
treedf8486cd56996a7504085117bbff7421e0a0cddc /src/opengl/qpixmapdata_gl.cpp
parent60d2026c8fc9295df2777a84e7831dbea07560d8 (diff)
downloadQt-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/opengl/qpixmapdata_gl.cpp')
0 files changed, 0 insertions, 0 deletions