Avoid dangling resource binding objects when deleting textures


Similar to renderUpdateNativeTexture, which has this logic, although
there the srb is nulled out. Here, we should remove from the srb map
completely when the QRhiTexture and the image id is going away.

Pick-to: 6.12
Change-Id: Ia37c70fcecd3b7a6f023c5aa11cec7d2dcf04ef7
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
commitfe27e56dfe6c4da04e8cb4b9e3cb9b2b2f868804
parent815bf51ef80464825979202e05901fcda360fc63
authorLaszlo Agocs <laszlo.agocs@qt.io>
committerLaszlo Agocs <laszlo.agocs@qt.io>
commit timeThu, 25 Jun 2026 12:27:13 +0000