aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-03-26 22:56:22 +0100
committerGitHub <[email protected]>2019-03-26 22:56:22 +0100
commit2f11b888b65452e9e08634ab377862b5ecb0c25d (patch)
tree504b20badab3d857bfdc44675461e81439bde6b3 /src/jogl/classes/com/jogamp
parente6298fa34539fc5bb636fe10e0d4f083719dee64 (diff)
parent7e4c32ba709346ce4009d50e506ebc4c079d7c1e (diff)
Merge pull request #95 from elect86/patch-1
Removing double quotes from included shaders
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java2
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