path: root/tests
diff options
authorLaszlo Agocs <>2022-05-16 12:20:45 +0200
committerLaszlo Agocs <>2022-05-24 20:20:02 +0200
commitba7a3b8d4a54564d4cf5392285376b36d80f60fd (patch)
treefcc9c53b949b77a33de8d802a08983d788c7cda7 /tests
parent34defa095a4dcb89afef51dabcbfec5a7b69e913 (diff)
Make sure the correct context is current when invoking resizeGL
After the 6.4 changes for QRhi-based compositing in widgets there is now a good chance that a different context is current after recreateFbo in case it actually created a new texture and fbo. This is not great if we immediately call resizeGL() afterwards since the contract for the reimplementable functions is that the QOpenGLWidget's context is current. Make sure this contract is followed. Fixes: QTBUG-103319 Change-Id: I59a5fa9500df34b86787927e1114d0a80297678a Reviewed-by: Christian Strømme <> Reviewed-by: Andy Nichols <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions