diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2021-02-09 09:59:18 +0200 |
---|---|---|
committer | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2021-02-11 11:25:33 +0200 |
commit | a87f31f2321f5cc838da3827c579f865842a64a2 (patch) | |
tree | 7fd8d0fb0ae7c7f2d966b8c8732ed1b6f81b19cf /tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp | |
parent | 60d8d2ddb5a9bb76cdac8556541f98694ffb82a6 (diff) |
Prevent segfault with software renderer
SW renderer doesn't have opengles2 config set, so we need to
make sure the pointer does not include garbage.
Fixes: QTBUG-91032
Change-Id: I98aa2f10889fe04c2f6f4af6abd0fe559ba686bf
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
(cherry picked from commit 824e0ba21a7b1e56264989c243c3138b09458751)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/cpptest/q3dsurface-modelproxy/tst_proxy.cpp')
0 files changed, 0 insertions, 0 deletions