diff options
author | Mauro Persano <mauro.persano@kdab.com> | 2015-12-24 14:15:19 -0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-01-04 19:49:34 +0000 |
commit | 0cee94017f441be09518a190ac1c4cbd8a76adc6 (patch) | |
tree | 129a2238b2a4d74fe62d6925ebdced3b85480a5e /tests | |
parent | 0c60dda8728af906acd0772615c517a51d3bec61 (diff) |
QOpenGLTexture: fix target for compressed textures
Trying to set data for a compressed cubemap texture face fails, because
the code incorrectly tries to bind to a cubemap face target.
This was already fixed for uncompressed textures. Instead of duplicating
the code, moved the texture binding/unbinding code to a RAII class.
Change-Id: I8f1cb7fc661b919200f85c3465d6e6e3c22d0871
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions