glsl: use const in for params

This commit is contained in:
Megamouse 2024-01-31 15:14:42 +01:00
parent 8e8b582747
commit 00c9321b1d

View File

@ -47,7 +47,7 @@ uniform int stereo_image_count;
uniform int height;
#endif
vec4 anaglyph(vec4 left, vec4 right)
vec4 anaglyph(const in vec4 left, const in vec4 right)
{
switch (stereo_display_mode)
{