diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-13 18:04:48 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-11-14 20:32:05 +0100 |
commit | 766775f6a0aeff1d21877518d9f7eecf44af559b (patch) | |
tree | 8e853f7b572d365f9ded816dd85ad1bd9f2c7ad7 /src/widgets/itemviews/qstyleditemdelegate.cpp | |
parent | f29e4ef1a625151079e1c8c7f820efe0a8ee2a6d (diff) |
QOpenGLTexture: don't allocate immutable multisample storage if not supported
Multisample textures may be supported without multisample texture
storage (e.g. from GL 3.2 to 4.2). And, immutable storage may be present,
but not supporting multisample textures (GL 4.3 - 4.4).
Thus, we must properly check if we can allocate immutable multisample storage,
falling back to mutable multisample storage if we're lacking the feature.
Task-number: QTBUG-42643
Change-Id: I1f3d5a9b4296626e40b69a06710331e49c2d1a33
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/widgets/itemviews/qstyleditemdelegate.cpp')
0 files changed, 0 insertions, 0 deletions