src/share/classes/sun/java2d/SurfaceData.java

Print this page

        

@@ -504,11 +504,11 @@
                         sg2d.fillpipe = colorPrimitives;
                     }
                     sg2d.textpipe = solidTextRenderer;
                 }
                 sg2d.shapepipe = colorPrimitives;
-                sg2d.loops = getRenderLoops(sg2d);
+                sg2d.setLoops(getRenderLoops(sg2d));
                 // assert(sg2d.surfaceData == this);
             }
         } else if (sg2d.compositeState == sg2d.COMP_CUSTOM) {
             if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) {
                 if (sg2d.clipState == sg2d.CLIP_SHAPE) {

@@ -601,11 +601,11 @@
                 sg2d.fillpipe = colorPrimitives;
             }
 
             sg2d.textpipe = getTextPipe(sg2d, false /* AA==OFF */);
             sg2d.shapepipe = colorPrimitives;
-            sg2d.loops = getRenderLoops(sg2d);
+            sg2d.setLoops(getRenderLoops(sg2d));
             // assert(sg2d.surfaceData == this);
         }
     }
 
     /* Return the text pipe to be used based on the graphics AA hint setting,