diff --git a/Data/Sys/Shaders/lens_distortion.glsl b/Data/Sys/Shaders/lens_distortion.glsl index 6311cd956b..9b40ea1a8b 100644 --- a/Data/Sys/Shaders/lens_distortion.glsl +++ b/Data/Sys/Shaders/lens_distortion.glsl @@ -53,7 +53,7 @@ void main() float offsetAdd; // layer0 = left eye, layer1 = right eye - if (layer == 1) + if (src_layer == 1) { offsetAdd = stereoOffset; } diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 6cf1397416..8d0b758c6f 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -400,6 +400,8 @@ void PostProcessing::RecompileShader() m_pixel_shader.reset(); if (!CompilePixelShader()) return; + if (!CompileVertexShader()) + return; CompilePipeline(); }