QWaylandShmBackingStore: Clear in beginPaint based on surface format
It's the surface format that matters not the backing image format.
Now that QWaylandShmWindow sets a proper QSurfaceFormat, we can
actually check it.
Change-Id: Ia17a9f06cd335b6e8f6989051bc9d0cef9bfe3f3
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
| commit | a96ce1f5ed6201bcdb96d207c6f8302abbcb098d |
| parent | 3a656dd67b26fe0e5674f9b65f9c3937d8a6f2c3 |
| author | Kai Uwe Broulik <kde@privat.broulik.de> |
| committer | Kai Uwe Broulik <kde@privat.broulik.de> |
| commit time | Tue, 11 Mar 2025 10:36:03 +0100 |