From 7e4c32ba709346ce4009d50e506ebc4c079d7c1e Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Fri, 29 Jan 2016 13:59:46 +0100 Subject: Removing also all the double quotes https://jogamp.org/bugzilla/show_bug.cgi?id=1283 --- src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes') diff --git a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java index 173c394ba..e674bc911 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java +++ b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java @@ -1098,7 +1098,7 @@ public class ShaderCode { while ((line = reader.readLine()) != null) { lineno++; if (line.startsWith("#include ")) { - final String includeFile = line.substring(9).trim(); + final String includeFile = line.substring(9).trim().replace("\"", ""); URLConnection nextConn = null; // Try relative of current shader location -- cgit v1.2.3