From aa2f6dfd2c85678382ce3115e8f30bab27a625f0 Mon Sep 17 00:00:00 2001 From: elasota Date: Tue, 13 Oct 2020 09:47:25 -0400 Subject: [PATCH] Fix desaturation not working --- AerofoilSDL/GpDisplayDriver_SDL_GL2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/AerofoilSDL/GpDisplayDriver_SDL_GL2.cpp b/AerofoilSDL/GpDisplayDriver_SDL_GL2.cpp index a2080a5..bb75280 100644 --- a/AerofoilSDL/GpDisplayDriver_SDL_GL2.cpp +++ b/AerofoilSDL/GpDisplayDriver_SDL_GL2.cpp @@ -1863,6 +1863,7 @@ void GpDisplayDriver_SDL_GL2::DrawSurface(IGpDisplayDriverSurface *surface, int3 m_gl.Uniform2fv(program->m_pixelFlickerAxisLocation, 1, flickerAxis); m_gl.Uniform1fv(program->m_pixelFlickerStartThresholdLocation, 1, &flickerStart); m_gl.Uniform1fv(program->m_pixelFlickerEndThresholdLocation, 1, &flickerEnd); + m_gl.Uniform1fv(program->m_pixelDesaturationLocation, 1, &desaturation); } if (effects->m_flicker)