PostProcessing: fix lens distortion shader

This has been broken since b44a0980eb310b221feb84a195db63b89276a053.
This commit is contained in:
Tillmann Karras 2021-07-18 04:07:08 +01:00
parent c948d7f436
commit eb4ed72a96

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