df cache: Simplify useTextureResizeWorkaround


What we need is what static does. Having a second 'set' bool static
has no purpose if all we need to do is to compare (once) the rhi
backend.

Pick-to: 6.12
Change-Id: I99263530c5d4da858172b75ac624c45af424ce08
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commit86da51ce92d8b80ce8b578e93e24f29e421a560f
parent1aaec54720ada4acdac6f608702b045256a40119
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeFri, 12 Jun 2026 08:04:24 +0000