jdk/src/macosx/classes/sun/lwawt/LWRepaintArea.java
changeset 13233 4d45f7ebc0d7
parent 12400 80e69bcb0b8e
child 20153 d5bf90bfcb6d
equal deleted inserted replaced
13147:eada40c7d74d 13233:4d45f7ebc0d7
    56         }
    56         }
    57     }
    57     }
    58 
    58 
    59     private static void flushBuffers(final LWComponentPeer peer) {
    59     private static void flushBuffers(final LWComponentPeer peer) {
    60         if (peer != null) {
    60         if (peer != null) {
    61             if (!peer.getWindowPeerOrSelf().isOpaque()) {
       
    62                 peer.flushOffscreenGraphics();
       
    63             }
       
    64             peer.flushOnscreenGraphics();
    61             peer.flushOnscreenGraphics();
    65         }
    62         }
    66     }
    63     }
    67 }
    64 }