diff options
author | Harvey Harrison <[email protected]> | 2012-05-19 00:45:13 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-05-19 00:45:32 -0700 |
commit | 0ecc4d1b3d333afb4bd44302767dec08af12f025 (patch) | |
tree | 2c6a65a78835c8e46b488b789dfac1710fcf29b4 /src/classes/share | |
parent | f5a8a01e4434b0775d02137cef5822ef40249b6a (diff) |
j3dcore: remove unneeded casts in Canvas3D
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/Canvas3D.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java index 019df9a..236b34c 100644 --- a/src/classes/share/javax/media/j3d/Canvas3D.java +++ b/src/classes/share/javax/media/j3d/Canvas3D.java @@ -2100,13 +2100,12 @@ ArrayList<TextureRetained> textureIDResourceTable = new ArrayList<TextureRetaine // modify the args to reflect offScreen rendering screen.renderer.args = new Object[4]; - ((Object[])screen.renderer.args)[0] = - new Integer(Renderer.REQUESTRENDER); - ((Object[])screen.renderer.args)[1] = this; - ((Object[])screen.renderer.args)[2] = view; + screen.renderer.args[0] = new Integer(Renderer.REQUESTRENDER); + screen.renderer.args[1] = this; + screen.renderer.args[2] = view; // This extra argument 3 is needed in MasterControl to // test whether offscreen Rendering is used or not - ((Object[])screen.renderer.args)[3] = null; + screen.renderer.args[3] = null; // call renderer doWork directly since we are already in // the renderer thread |