Skip to content

Commit

Permalink
Remove clearGlyphs parameter also from ClearGlyphMode.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Dec 1, 2024
1 parent fb077d2 commit e3310c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rts/Rendering/Fonts/CFontTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,14 +784,10 @@ void CFontTexture::ClearFallbackFonts()
/***
*
* Clears all glyphs for all fonts
*
* @param clearMode ClearGlyphMode
*/
void CFontTexture::ClearAllGlyphs(bool clearMode) {
void CFontTexture::ClearAllGlyphs() {
#ifndef HEADLESS
RECOIL_DETAILED_TRACY_ZONE;
if (clearMode == ClearGlyphMode::none)
return;

bool changed = false;
for (const auto& ft : allFonts) {
Expand Down

0 comments on commit e3310c2

Please sign in to comment.