Fix desaturation not working

This commit is contained in:
elasota
2020-10-13 09:47:25 -04:00
parent b03561c76b
commit aa2f6dfd2c

View File

@@ -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)