Subject: | OpenGL::Shader fails the GLSL tests on Strawberry Perl |
Date: | Sun, 27 Mar 2016 14:09:23 +0200 |
To: | bug-OpenGL-Shader [...] rt.cpan.org |
From: | "bubnikv ." <bubnikv [...] gmail.com> |
Hello.
The test case for a GLSL shader instantiation fails on Windows 10 with
Strawberry Perl due to a warning emitted during a compilation of the GLSL
vertex and fragment shaders. A warning is emitted because the files
vertex.glsl and fragment.glsl do not contain a version line.
The test passed once I added a following line to the start of vertex.glsl
and fragment.glsl:
#version 110
Please add a version line into the glsl files or adjust the tests to ignore
warning emitted by the GLSL compiler.
Thanks,
Vojtech