aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/javax/media/j3d/RenderBin.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java
index b55343e..29c387c 100644
--- a/src/classes/share/javax/media/j3d/RenderBin.java
+++ b/src/classes/share/javax/media/j3d/RenderBin.java
@@ -359,8 +359,8 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
*/
private boolean visQuery = false;
- // Temporary dirtylist
- ArrayList dirtyList = new ArrayList(5);
+// Temporary dirtylist
+ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5);
// Transaprency sort mode
int transpSortMode = View.TRANSPARENCY_SORT_NONE;
@@ -1042,7 +1042,7 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
}
if ((size = dirtyList.size()) > 0) {
for (i = 0; i < size; i++) {
- ra = (RenderAtomListInfo)dirtyList.get(i);
+ ra = dirtyList.get(i);
GeometryArrayRetained geo = (GeometryArrayRetained)ra.geometry();
if ( (geo.resourceCreationMask & rdr.rendererBit) != 0) {
rdr.dirtyRenderAtomList.add(ra);
@@ -1128,7 +1128,7 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList
}
if ((size = dirtyList.size()) > 0) {
for (i = 0; i <size; i++) {
- ra = (RenderAtomListInfo)dirtyList.get(i);
+ ra = dirtyList.get(i);
GeometryArrayRetained geo = (GeometryArrayRetained)ra.geometry();
if ((geo.resourceCreationMask & cv.canvasBit) != 0) {
cv.dirtyRenderAtomList.add(ra);