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/safeopenglimagehelper.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/safeopenglimagehelper.cpp')
-rw-r--r-- | src/resources/safeopenglimagehelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/safeopenglimagehelper.cpp b/src/resources/safeopenglimagehelper.cpp index cb318d8b9..676812d12 100644 --- a/src/resources/safeopenglimagehelper.cpp +++ b/src/resources/safeopenglimagehelper.cpp @@ -93,7 +93,7 @@ Image *SafeOpenGLImageHelper::load(SDL_RWops *const rw, { 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: |