src/share/classes/sun/awt/image/BufImgSurfaceData.java

Print this page

        

@@ -321,12 +321,12 @@
                         icm);
         return bisd;
     }
 
     public RenderLoops getRenderLoops(SunGraphics2D sg2d) {
-        if (sg2d.paintState <= sg2d.PAINT_ALPHACOLOR &&
-            sg2d.compositeState <= sg2d.COMP_ISCOPY)
+        if (sg2d.paintState <= SunGraphics2D.PAINT_ALPHACOLOR &&
+            sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY)
         {
             return solidloops;
         }
         return super.getRenderLoops(sg2d);
     }