Skip to content

glsl-uniform-out-of-bounds-2: silence warning

Erik Faye-Lund requested to merge kusma/piglit:warning-fix into master

The buffer for the "name"-variable is 99 bytes large, which makes it look like the name can be much larger than 9 bytes large. So let's just make the array as large as the maximum string can become with a 98 character name, to silence the compiler.

Together with !337 (merged), building Piglit for Linux is warning-free on my setup.

Merge request reports