Skip to content

Commit

Permalink
Fix opposite intention of AllTexturesReleased conditional check (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgruenbacher authored Feb 1, 2024
1 parent 06c8282 commit ee53236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/TextureDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ bool TextureDatabase::AllTexturesReleased()
if (texture_database)
{
for (const auto& texture : texture_database->textures)
if (!texture.second->IsLoaded())
if (texture.second->IsLoaded())
return false;

for (const auto& texture : texture_database->callback_textures)
if (!texture->IsLoaded())
if (texture->IsLoaded())
return false;
}

Expand Down

0 comments on commit ee53236

Please sign in to comment.