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; }