From d99a3f4a96b754a788c4a147be27dd212d90f743 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Aug 2013 23:02:14 +0300 Subject: improve software A,S dye speed. --- src/resources/dye.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/dye.h') diff --git a/src/resources/dye.h b/src/resources/dye.h index 95a4dbdae..2976c984d 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -63,12 +63,12 @@ class DyePalette final /** * replace colors for SDL for S dye. */ - void replaceSColor(uint8_t *const color) const; + void replaceSColor(uint32_t *pixels, const int bufSize) const; /** * replace colors for SDL for S dye. */ - void replaceAColor(uint8_t *const color) const; + void replaceAColor(uint32_t *pixels, const int bufSize) const; /** * replace colors for OpenGL for S dye. -- cgit v1.2.3-60-g2f50