Skip to content

Commit

Permalink
PostProcessing: fix lens distortion shader
Browse files Browse the repository at this point in the history
This has been broken since b44a098.
  • Loading branch information
Tilka committed Jul 18, 2021
1 parent c948d7f commit eb4ed72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/Sys/Shaders/lens_distortion.glsl
Expand Up @@ -53,7 +53,7 @@ void main()
float offsetAdd;

// layer0 = left eye, layer1 = right eye
if (layer == 1)
if (src_layer == 1)
{
offsetAdd = stereoOffset;
}
Expand Down

0 comments on commit eb4ed72

Please sign in to comment.