From 1437254152868e8fa3f11d5b5f08dd3ee5d89ee4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 May 2017 02:08:50 +0300 Subject: Switch in replaceAOGLColor into using custom despatcher. --- src/resources/safeopenglimagehelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/safeopenglimagehelper.cpp') 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: -- cgit v1.2.3-70-g09d2