summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-04 00:13:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 19:36:33 +0300
commitf97a167c445790fb380c2f730c377271e80e0d97 (patch)
tree24525423d2e50bab0dd519d016da33c0c5387e6d /src/resources/dye.h
parentd99a3f4a96b754a788c4a147be27dd212d90f743 (diff)
downloadmv-f97a167c445790fb380c2f730c377271e80e0d97.tar.gz
mv-f97a167c445790fb380c2f730c377271e80e0d97.tar.bz2
mv-f97a167c445790fb380c2f730c377271e80e0d97.tar.xz
mv-f97a167c445790fb380c2f730c377271e80e0d97.zip
improve OpenGL 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 2976c984d..e8b4ae94e 100644
--- a/src/resources/dye.h
+++ b/src/resources/dye.h
@@ -73,12 +73,12 @@ class DyePalette final
/**
* replace colors for OpenGL for S dye.
*/
- void replaceSOGLColor(uint8_t *const color) const;
+ void replaceSOGLColor(uint32_t *pixels, const int bufSize) const;
/**
* replace colors for OpenGL for A dye.
*/
- void replaceAOGLColor(uint8_t *const color) const;
+ void replaceAOGLColor(uint32_t *pixels, const int bufSize) const;
static int hexDecode(const signed char c) A_WARN_UNUSED;