If you include the #version directive then it must be on the first non-comment line in a glsl fragment. This is now handled.
Change-Id: I7e938c27b24d20f25e656667a122d7a341f51611 Reviewed-on: https://gerrit.libreoffice.org/14246
a2b94b9 vcl: OpenGL code for adding preambles to glsl fragments now handles #version
vcl/source/opengl/OpenGLHelper.cxx | 33 +++++++++++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
Upstream: cgit.freedesktop.org