mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
Port fix from master
This commit is contained in:
parent
bccc06d2fe
commit
472835d65c
1 changed files with 4 additions and 0 deletions
|
@ -478,6 +478,10 @@ void GLVariableAllocationSupport::updateMemoryPressure() {
|
|||
|
||||
// Populate the existing textures into the queue
|
||||
for (const auto& texture : strongTextures) {
|
||||
// Race conditions can still leave nulls in the list, so we need to check
|
||||
if (!texture) {
|
||||
continue;
|
||||
}
|
||||
addToWorkQueue(texture);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue