summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengltexturehelper.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-02-05 19:49:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-07 18:48:14 +0100
commitbbf3d01f78460b751334cd043b34940904e06eae (patch)
tree95ff77b3c9216916756abc25d1ff01e4b08415d1 /src/gui/opengl/qopengltexturehelper.cpp
parent05f7f9bc58596000406bcbbd94123bb31b3cba33 (diff)
QOpenGLTexture: fix support for 1D textures
OpenGL ES 2 doesn't support 1D textures. So introduce a proper feature flag and warn if we try to allocate one there. Change-Id: I73cf58c1f257d2472564f45bff222231e39aca52 Reviewed-by: James Turner <james.turner@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopengltexturehelper.cpp')
0 files changed, 0 insertions, 0 deletions