WebGL shader fix;
@@ -109,7 +109,7 @@ const char* lovrShaderFragmentPrefix = ""
"#else \n"
"#define sampler2DMultiview sampler2D \n"
"vec4 textureMultiview(sampler2DMultiview t, vec2 uv) { \n"
-" uv = clamp(uv, 0., 1.) * vec2(.5, 1.) + lovrViewID * vec2(.5, 0.); \n"
+" uv = clamp(uv, 0., 1.) * vec2(.5, 1.) + vec2(lovrViewID) * vec2(.5, 0.); \n"
" return texture(t, uv); \n"
"} \n"
"#endif \n"
