src/windows/classes/sun/java2d/windows/GDIWindowSurfaceData.java

Print this page

        

@@ -210,11 +210,11 @@
             // This is needed for AA text.
             // Note that even a SolidTextRenderer can dispatch AA text
             // if a GlyphVector overrides the AA setting.
             // We use getRenderLoops() rather than setting solidloops
             // directly so that we get the appropriate loops in XOR mode.
-            sg2d.loops = getRenderLoops(sg2d);
+            sg2d.setLoops(getRenderLoops(sg2d));
         } else {
             super.validatePipe(sg2d);
         }
     }