PostProcessing: fix lens distortion shader

This has been broken since b44a0980eb.
This commit is contained in:
Tillmann Karras 2021-07-18 04:07:08 +01:00
parent c948d7f436
commit eb4ed72a96
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void main()
float offsetAdd;
// layer0 = left eye, layer1 = right eye
if (layer == 1)
if (src_layer == 1)
{
offsetAdd = stereoOffset;
}