Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlaughlin committed Dec 5, 2024
1 parent 8839c0f commit f63bba0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/palettes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ PaletteState::PaletteState()
{
// Initialize the palette textures (will create new texture ids)
InitTextures();
// Generate the textures
// GenerateTextures();
}

void PaletteState::InitTextures()
Expand Down Expand Up @@ -90,7 +88,7 @@ void PaletteState::InitTextures()

void PaletteState::GenerateTextures()
{
if (textures.size() != Palettes->NumPalettes())
if ((int)(textures.size()) != Palettes->NumPalettes())
{
cout << "Reinitializing textures." << endl;
InitTextures();
Expand Down

0 comments on commit f63bba0

Please sign in to comment.