mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:00:05 +00:00
Gl cleanup clang-tidy fixes
This commit is contained in:
parent
d5e5019811
commit
4955dcd2c9
5 changed files with 15 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue