summaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/Renderer.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/Renderer.java b/src/classes/share/javax/media/j3d/Renderer.java
index af4aa7e..e39d6da 100644
--- a/src/classes/share/javax/media/j3d/Renderer.java
+++ b/src/classes/share/javax/media/j3d/Renderer.java
@@ -1462,9 +1462,7 @@ ArrayList<TextureRetained> textureIDResourceTable = new ArrayList<TextureRetaine
new RenderingError(RenderingError.UNEXPECTED_RENDERING_ERROR,
J3dI18N.getString("Renderer8"));
err.setCanvas3D(canvas);
- if (canvas != null) {
- err.setGraphicsDevice(canvas.graphicsConfiguration.getDevice());
- }
+ err.setGraphicsDevice(canvas.graphicsConfiguration.getDevice());
notifyErrorListeners(err);
}
}