Fix T77651: Black screen on Blender startup on ChromeOS

Apparently `textureSize` doesn't work with
`sampler1DArray` on this OS.

Thanks to @dave1853 for finding the source of the
problem.
This commit is contained in:
2021-06-07 15:11:50 -03:00
parent 1c6e338d59
commit 6e56b42faa
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ flat in int interp_size;
out vec4 fragColor;
uniform sampler1DArray glyph;
uniform sampler2D glyph;
const vec2 offsets4[4] = vec2[4](
vec2(-0.5, 0.5), vec2(0.5, 0.5), vec2(-0.5, -0.5), vec2(-0.5, -0.5));