diff options
author | jada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2005-10-25 23:17:51 +0000 |
---|---|---|
committer | jada <jada@28c7f869-5b4e-e670-f602-82bfaf57f300> | 2005-10-25 23:17:51 +0000 |
commit | 514fe3f6240041c178ff9262d0b91e838fad1d3b (patch) | |
tree | ae8d882295043676419b6430f70b4641215a7d4f /src/GLSLShaderTest/SphereGLSL.java | |
parent | 4325f75ac43540221ba95d7ac925a1c9dc566152 (diff) |
1) GLSLShaderTest :
Added new GLSL shader example program.
No exit when exception is encountered.
2) PickTest :
Update PickTest.java to use the new pickfast utility.
Diffstat (limited to 'src/GLSLShaderTest/SphereGLSL.java')
-rw-r--r-- | src/GLSLShaderTest/SphereGLSL.java | 6 |
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, |