Fix stereo mirror window;

For some reason this was rendering both layers of a multi-layer
texture all squished.  I think it was supposed to just render the
first layer.
This commit is contained in:
bjorn 2022-11-07 17:14:27 -08:00
parent c021fc40ef
commit 5e2b44ad08
1 changed files with 1 additions and 2 deletions

View File

@ -7,6 +7,5 @@
layout(set = 1, binding = 1) uniform texture2DArray ArrayTexture;
vec4 lovrmain() {
vec2 uv = vec2(2 * UV.x, UV.y);
return Color * getPixel(ArrayTexture, uv, 0);
return Color * getPixel(ArrayTexture, UV, 0);
}