diff options
Diffstat (limited to 'src/resources/dye.cpp')
-rw-r--r-- | src/resources/dye.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp index 78ad8137a..59d8f18df 100644 --- a/src/resources/dye.cpp +++ b/src/resources/dye.cpp @@ -205,7 +205,7 @@ void DyePalette::getColor(double intensity, int color[3]) const color[2] = static_cast<int>(rest * b1 + intensity * b2); } -void DyePalette::replaceColor(Uint8 *color) const +void DyePalette::replaceColor(uint8_t *color) const { std::vector<Color>::const_iterator it = mColors.begin(); std::vector<Color>::const_iterator it_end = mColors.end(); @@ -228,7 +228,7 @@ void DyePalette::replaceColor(Uint8 *color) const } } -void DyePalette::replaceOGLColor(Uint8 *color) const +void DyePalette::replaceOGLColor(uint8_t *color) const { std::vector<Color>::const_iterator it = mColors.begin(); std::vector<Color>::const_iterator it_end = mColors.end(); |