diff options
author | Mauro Persano <mauro.persano@kdab.com> | 2017-08-28 22:08:57 -0300 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-08-31 12:15:16 +0000 |
commit | 2e4acacfa3a062b8585226500f6cbc65597b8b67 (patch) | |
tree | 51d64ac916b4040c332018140619b2a081e2b17c /tests | |
parent | 7a89913cea6c471cefdb3d0cbd32583ea1b6d494 (diff) |
Don't create GL textures when format is not set
For textures where the format was not set (this may happen, for
instance, for a Texture2D without TextureImage children), don't try to
create a GL texture or the underlying OpenGL calls will fail. Also avoid
trying to set the corresponding uniform while rendering.
Change-Id: I17d95e2a2f1f1a1e5c22a0296c8641c4873e9e7f
Task-Id: QTBUG-62654
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions