Gl cleanup clang-tidy fixes

This commit is contained in:
Dan Paulat 2025-05-09 18:11:49 -05:00
parent d5e5019811
commit 4955dcd2c9
5 changed files with 15 additions and 6 deletions

View file

@ -131,8 +131,9 @@ void DrawLayer::RenderWithoutImGui(
p->textureAtlas_ = glContext->GetTextureAtlas();
// Determine if the texture atlas changed since last render
std::uint64_t newTextureAtlasBuildCount = glContext->texture_buffer_count();
bool textureAtlasChanged =
const std::uint64_t newTextureAtlasBuildCount =
glContext->texture_buffer_count();
const bool textureAtlasChanged =
newTextureAtlasBuildCount != p->textureAtlasBuildCount_;
// Set OpenGL blend mode for transparency