diff options
author | Sven Gothel <[email protected]> | 2019-03-26 22:56:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-03-26 22:56:22 +0100 |
commit | 2f11b888b65452e9e08634ab377862b5ecb0c25d (patch) | |
tree | 504b20badab3d857bfdc44675461e81439bde6b3 /src/jogl/classes | |
parent | e6298fa34539fc5bb636fe10e0d4f083719dee64 (diff) | |
parent | 7e4c32ba709346ce4009d50e506ebc4c079d7c1e (diff) |
Merge pull request #95 from elect86/patch-1
Removing double quotes from included shaders
Diffstat (limited to 'src/jogl/classes')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |