aboutsummaryrefslogtreecommitdiffstats
path: root/src/GLSLShaderTest/SphereGLSL.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/GLSLShaderTest/SphereGLSL.java')
-rw-r--r--src/GLSLShaderTest/SphereGLSL.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/GLSLShaderTest/SphereGLSL.java b/src/GLSLShaderTest/SphereGLSL.java
index 87d589e..a96dca6 100644
--- a/src/GLSLShaderTest/SphereGLSL.java
+++ b/src/GLSLShaderTest/SphereGLSL.java
@@ -114,11 +114,7 @@ public class SphereGLSL extends Applet {
fragmentProgram = StringIO.readFully("./simple.frag");
}
catch (IOException e) {
- /*
- e.printStackTrace();
- System.exit(1);
- */
- System.err.println(e);
+ throw new RuntimeException(e);
}
Shader[] shaders = new Shader[2];
shaders[0] = new SourceCodeShader(Shader.SHADING_LANGUAGE_GLSL,