diff options
Diffstat (limited to 'src/classes/javax')
-rwxr-xr-x | src/classes/javax/media/opengl/Threading.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/classes/javax/media/opengl/Threading.java b/src/classes/javax/media/opengl/Threading.java index 2f1aa4fb7..7aa57def5 100755 --- a/src/classes/javax/media/opengl/Threading.java +++ b/src/classes/javax/media/opengl/Threading.java @@ -250,7 +250,13 @@ public class Threading { } } } - GLWorkerThread.invokeAndWait(r); + try { + GLWorkerThread.invokeAndWait(r); + } catch (InvocationTargetException e) { + throw new GLException(e.getTargetException()); + } catch (InterruptedException e) { + throw new GLException(e); + } break; default: |