summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-03 23:02:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 19:36:33 +0300
commitd99a3f4a96b754a788c4a147be27dd212d90f743 (patch)
tree72e4ca7b883db78c3fd5564ce0f9496b0e440343 /src/resources/dye.h
parent3d94db98d119b011646893468bb61f88a0019173 (diff)
downloadplus-d99a3f4a96b754a788c4a147be27dd212d90f743.tar.gz
plus-d99a3f4a96b754a788c4a147be27dd212d90f743.tar.bz2
plus-d99a3f4a96b754a788c4a147be27dd212d90f743.tar.xz
plus-d99a3f4a96b754a788c4a147be27dd212d90f743.zip
improve software A,S dye speed.
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r--src/resources/dye.h4
1 files changed, 2 insertions, 2 deletions
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.