From cd94be3d8356e713cf5b72c64d22ec5baf5cae4a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 May 2017 01:48:43 +0300 Subject: Fix compilation without simd support again. --- src/resources/dye/dyepalette.cpp | 2 -- src/resources/dye/dyepalette.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/resources/dye/dyepalette.cpp b/src/resources/dye/dyepalette.cpp index 75e4c567b..65063959b 100644 --- a/src/resources/dye/dyepalette.cpp +++ b/src/resources/dye/dyepalette.cpp @@ -44,7 +44,6 @@ #include "debug.h" -#ifdef SIMD_SUPPORTED DyeFunctionPtr DyePalette::funcReplaceSColor = nullptr; DyeFunctionPtr DyePalette::funcReplaceSColorSse2 = nullptr; DyeFunctionPtr DyePalette::funcReplaceSColorAvx2 = nullptr; @@ -60,7 +59,6 @@ DyeFunctionPtr DyePalette::funcReplaceAOGLColor = nullptr; DyeFunctionPtr DyePalette::funcReplaceAOGLColorSse2 = nullptr; DyeFunctionPtr DyePalette::funcReplaceAOGLColorAvx2 = nullptr; #endif // USE_OPENGL -#endif // SIMD_SUPPORTED DyePalette::DyePalette(const std::string &restrict description, const uint8_t blockSize) : diff --git a/src/resources/dye/dyepalette.h b/src/resources/dye/dyepalette.h index 80e5f53c2..eee7f2327 100644 --- a/src/resources/dye/dyepalette.h +++ b/src/resources/dye/dyepalette.h @@ -161,7 +161,6 @@ class DyePalette final static void initFunctions(); -#ifdef SIMD_SUPPORTED #ifdef USE_OPENGL static DyeFunctionPtr funcReplaceSOGLColor; static DyeFunctionPtr funcReplaceSOGLColorSse2; @@ -177,7 +176,6 @@ class DyePalette final static DyeFunctionPtr funcReplaceAColor; static DyeFunctionPtr funcReplaceAColorSse2; static DyeFunctionPtr funcReplaceAColorAvx2; -#endif // SIMD_SUPPORTED #ifndef UNITTESTS private: -- cgit v1.2.3-60-g2f50