From d79e8a44957ee1bfa2e0a5bc94d13cfc31c7fc3f Mon Sep 17 00:00:00 2001 From: f4exb Date: Sat, 6 Oct 2018 04:37:43 +0200 Subject: [PATCH] Removed explicit SSE2 code in GLSpectrum. Fixes issue #192 --- sdrgui/gui/glspectrum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdrgui/gui/glspectrum.cpp b/sdrgui/gui/glspectrum.cpp index 1a9356469..69ad6d5ab 100644 --- a/sdrgui/gui/glspectrum.cpp +++ b/sdrgui/gui/glspectrum.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#ifdef USE_SSE2 +#if 0 //def USE_SSE2 #include #endif @@ -416,7 +416,7 @@ void GLSpectrum::updateHistogram(const std::vector& spectrum) m_currentSpectrum = &spectrum; // Store spectrum for current spectrum line display -#ifdef USE_SSE2 +#if 0 //def USE_SSE2 if(m_decay >= 0) { // normal const __m128 refl = {m_referenceLevel, m_referenceLevel, m_referenceLevel, m_referenceLevel}; const __m128 power = {m_powerRange, m_powerRange, m_powerRange, m_powerRange};