mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
remove incorrect cast
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user