diff --git a/.github/workflows/eepp-macos-build-check.yml b/.github/workflows/eepp-macos-build-check.yml index 462662a8e..1a13ce35c 100644 --- a/.github/workflows/eepp-macos-build-check.yml +++ b/.github/workflows/eepp-macos-build-check.yml @@ -16,7 +16,7 @@ jobs: git submodule update --init --recursive - name: Install dependencies run: | - brew install wget SDL2 premake mesa + brew install wget SDL2 premake - name: Build run: | premake5 --with-text-shaper --disable-static-build gmake @@ -24,9 +24,4 @@ jobs: - name: Unit Tests run: | cd bin/unit_tests - export LIBGL_ALWAYS_SOFTWARE=1 - export GALLIUM_DRIVER=llvmpipe - export SDL_VIDEODRIVER=cocoa ./eepp-unit_tests - env: - DYLD_LIBRARY_PATH: /opt/homebrew/lib # Ensures Mesa's libGL is used diff --git a/src/eepp/graphics/image.cpp b/src/eepp/graphics/image.cpp index 43e1d485c..c32548f63 100644 --- a/src/eepp/graphics/image.cpp +++ b/src/eepp/graphics/image.cpp @@ -73,7 +73,7 @@ static constexpr Lab xyzToLab( const XYZ& xyz ) { } // Calculate CIEDE2000 Delta E between two Lab colors -static constexpr double deltaECIEDE2000( const Lab& lab1, const Lab& lab2 ) { +static double deltaECIEDE2000( const Lab& lab1, const Lab& lab2 ) { double l1 = lab1.l, a1 = lab1.a, b1 = lab1.b; double l2 = lab2.l, a2 = lab2.a, b2 = lab2.b;