remove incorrect cast

This commit is contained in:
benfry
2012-09-10 16:45:02 +00:00
parent 9a27280bcc
commit 7cf6c3af17

View File

@@ -1011,10 +1011,9 @@ public class PGL {
animator.requestDisplay();
}
} catch (GLException e) {
// Unwrap GLException so that only the causing exception
// is shown.
// Unwrap GLException so that only the causing exception is shown.
Throwable tr = e.getCause();
throw (RuntimeException)tr;
throw new RuntimeException(tr);
}
}
}