diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-04 00:13:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-18 19:36:33 +0300 |
commit | f97a167c445790fb380c2f730c377271e80e0d97 (patch) | |
tree | 24525423d2e50bab0dd519d016da33c0c5387e6d /src/resources/dye.h | |
parent | d99a3f4a96b754a788c4a147be27dd212d90f743 (diff) | |
download | manaverse-f97a167c445790fb380c2f730c377271e80e0d97.tar.gz manaverse-f97a167c445790fb380c2f730c377271e80e0d97.tar.bz2 manaverse-f97a167c445790fb380c2f730c377271e80e0d97.tar.xz manaverse-f97a167c445790fb380c2f730c377271e80e0d97.zip |
improve OpenGL A,S dye speed.
Diffstat (limited to 'src/resources/dye.h')
-rw-r--r-- | src/resources/dye.h | 4 |
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; |