diff options
author | Janne Kangas <janne.kangas@qt.io> | 2019-08-21 13:02:14 +0300 |
---|---|---|
committer | Janne Kangas <janne.kangas@qt.io> | 2019-11-20 16:10:14 +0200 |
commit | fa0c4c3eba5059decce0b5fc9f588403796f91c0 (patch) | |
tree | 62ad29159b0d603a4b25c5a9cbd56dcc090bdd7a /src/Runtime/ogl-runtime/src/system/Qt3DSMemoryPool.cpp | |
parent | 7267998daee74cafc98275d08ee54fa77b2c6d8a (diff) |
Fix crash when effect shader code is changed externally
Trigger instance refresh for effect instances in a batch after all
changed effect instances are reloaded. This eliminates crash in Runtime as
effects are re-rendered at reload, while other effects might still be in
the process of reallocating buffers.
Change-Id: I9725ff89a7f736bbe649ab9601b037cc472c5f8d
Task-id: QT3DS-3990
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/ogl-runtime/src/system/Qt3DSMemoryPool.cpp')
0 files changed, 0 insertions, 0 deletions