summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-21 01:48:47 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-21 01:48:47 +0300
commitc1c14c1ec2410671894bc5d84b10766a6183c852 (patch)
treed929c47d2739aa0172aa8a03f976f545fc4913f3 /src/resources/dye/dyepalette.h
parent412c329e164c4b3bef9de3fa6179f244b83b0f6d (diff)
downloadplus-c1c14c1ec2410671894bc5d84b10766a6183c852.tar.gz
plus-c1c14c1ec2410671894bc5d84b10766a6183c852.tar.bz2
plus-c1c14c1ec2410671894bc5d84b10766a6183c852.tar.xz
plus-c1c14c1ec2410671894bc5d84b10766a6183c852.zip
Rename dye function replaceSColor256 into replaceSColorSimd.
Diffstat (limited to 'src/resources/dye/dyepalette.h')
-rw-r--r--src/resources/dye/dyepalette.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/dye/dyepalette.h b/src/resources/dye/dyepalette.h
index 0e7567c56..663f5375e 100644
--- a/src/resources/dye/dyepalette.h
+++ b/src/resources/dye/dyepalette.h
@@ -75,16 +75,16 @@ class DyePalette final
* replace colors for SDL for S dye.
*/
FUNCTION_SIMD_DEFAULT
- void replaceSColor256(uint32_t *restrict pixels,
- const int bufSize) const restrict2;
+ void replaceSColorSimd(uint32_t *restrict pixels,
+ const int bufSize) const restrict2;
#ifdef SIMD_SUPPORTED
/**
* replace colors for SDL for S dye.
*/
__attribute__ ((target ("avx2")))
- void replaceSColor256(uint32_t *restrict pixels,
- const int bufSize) const restrict2;
+ void replaceSColorSimd(uint32_t *restrict pixels,
+ const int bufSize) const restrict2;
#endif // SIMD_SUPPORTED
/**