summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-10-09 06:26:25 +0200
committerSven Gothel <[email protected]>2014-10-09 06:26:25 +0200
commit84c0dcd490cc0bc0037351d899be811e830ab3fe (patch)
tree444d9567a90a6f2044ff2b31c85f7f2fa35850a7 /src/test/com/jogamp/opengl
parentb11fd5ebdd4f2e7189f47ffd53bacdd5a80c85e2 (diff)
Graph Font: Fix API doc (parameter) ; GPUUISceneGLListener0A forward FontFactory.get(..) exception, we cannot recover in this demo
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
index b10a89a8f..685e3bd86 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
@@ -157,8 +157,7 @@ public class GPUUISceneGLListener0A implements GLEventListener {
try {
font = FontFactory.get(FontFactory.UBUNTU).getDefault();
} catch (final IOException ioe) {
- System.err.println("Caught: "+ioe.getMessage());
- ioe.printStackTrace();
+ throw new RuntimeException(ioe);
}
sceneUIController = new SceneUIController(sceneDist, zNear, zFar);
screenshot = new GLReadBufferUtil(false, false);
@@ -704,8 +703,7 @@ public class GPUUISceneGLListener0A implements GLEventListener {
try {
font = FontFactory.get(fontSet).getDefault();
} catch (final IOException ioe) {
- System.err.println("Caught: "+ioe.getMessage());
- ioe.printStackTrace();
+ throw new RuntimeException(ioe);
}
renderer = RegionRenderer.create(rs, RegionRenderer.defaultBlendEnable, RegionRenderer.defaultBlendDisable);