diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 02:08:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 02:08:50 +0300 |
commit | 1437254152868e8fa3f11d5b5f08dd3ee5d89ee4 (patch) | |
tree | 8cfe61959c3cf6fa1a7c28ed31b2440c6b3b7070 /src/resources/openglimagehelper.cpp | |
parent | 971159bb7102962299543d323798fbf43185899a (diff) | |
download | manaplus-1437254152868e8fa3f11d5b5f08dd3ee5d89ee4.tar.gz manaplus-1437254152868e8fa3f11d5b5f08dd3ee5d89ee4.tar.bz2 manaplus-1437254152868e8fa3f11d5b5f08dd3ee5d89ee4.tar.xz manaplus-1437254152868e8fa3f11d5b5f08dd3ee5d89ee4.zip |
Switch in replaceAOGLColor into using custom despatcher.
Diffstat (limited to 'src/resources/openglimagehelper.cpp')
-rw-r--r-- | src/resources/openglimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp index 9f19c3e95..d854c0666 100644 --- a/src/resources/openglimagehelper.cpp +++ b/src/resources/openglimagehelper.cpp @@ -96,7 +96,7 @@ Image *OpenGLImageHelper::load(SDL_RWops *const rw, Dye const &dye) { const DyePalette *const pal = dye.getAPalete(); if (pal) - pal->replaceAOGLColor(pixels, surf->w * surf->h); + DYEPALETTEP(pal, AOGLColor)(pixels, surf->w * surf->h); break; } case 0: |