diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-14 09:00:01 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-14 09:06:26 (GMT) |
commit | 9d075f383597f727b0c5c1e6bdbb9646e35c0fa0 (patch) | |
tree | 4a4e8d47d8ad5dc46622f568b7a66f6e63c32e84 /qmake/main.cpp | |
parent | 5e54649a29f65f32beb2c310fd2a81d60b901537 (diff) | |
download | Qt-9d075f383597f727b0c5c1e6bdbb9646e35c0fa0.zip Qt-9d075f383597f727b0c5c1e6bdbb9646e35c0fa0.tar.gz Qt-9d075f383597f727b0c5c1e6bdbb9646e35c0fa0.tar.bz2 |
Fix drawTiledPixmap for NPOT pixmaps on OpenGL ES 2.0
OpenGL ES does not support GL_REPEAT wrap modes for NPOT textures. So
instead, we emulate GL_REPEAT by only taking the fractional part of the
texture coords in the fragment shader.
Task-number: 260982
Reviewed-by: Samuel
Diffstat (limited to 'qmake/main.cpp')
0 files changed, 0 insertions, 0 deletions