diff options
Diffstat (limited to 'src/resources/imagehelper.cpp')
-rw-r--r-- | src/resources/imagehelper.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/resources/imagehelper.cpp b/src/resources/imagehelper.cpp index b400dd1f9..71f3cc5a9 100644 --- a/src/resources/imagehelper.cpp +++ b/src/resources/imagehelper.cpp @@ -28,6 +28,7 @@ #include "resources/dye/dye.h" #include "resources/dye/dyepalette.h" +#include "utils/performance.h" #include "utils/sdlcheckutils.h" PRAGMA48(GCC diagnostic push) @@ -105,14 +106,14 @@ Image *ImageHelper::load(SDL_RWops *const rw, Dye const &dye) { case 1: { - const DyePalette *const pal = dye.getSPalete(); + const DyePalette *const pal = dye.getSPalette(); if (pal != nullptr) DYEPALETTEP(pal, SColor)(pixels, surf->w * surf->h); break; } case 2: { - const DyePalette *const pal = dye.getAPalete(); + const DyePalette *const pal = dye.getAPalette(); if (pal != nullptr) DYEPALETTEP(pal, AColor)(pixels, surf->w * surf->h); break; |