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
Pick-to: 6.1
Change-Id: I98aa2f10889fe04c2f6f4af6abd0fe559ba686bf
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| commit | 824e0ba21a7b1e56264989c243c3138b09458751 |
| parent | d2c6249bb9292deec97b5a026be5efdb7a83bba7 |
| author | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| committer | Tomi Korpipaa <tomi.korpipaa@qt.io> |
| commit time | Wed, 10 Feb 2021 12:49:17 +0200 |