< prev index next >
src/java.desktop/unix/classes/sun/java2d/xr/XRSurfaceDataProxy.java
Print this page
@@ -57,12 +57,13 @@
@Override
public SurfaceData validateSurfaceData(SurfaceData srcData,
SurfaceData cachedData, int w, int h) {
if (cachedData == null) {
- cachedData = XRSurfaceData.createData(xrgc, w, h, xrgc
- .getColorModel(), null, 0, getTransparency());
+ cachedData = XRSurfaceData.createData(xrgc, w, h,
+ xrgc.getColorModel(), null, 0,
+ getTransparency(), true);
}
return cachedData;
}
public XRSurfaceDataProxy(XRGraphicsConfig x11gc, int transparency) {
< prev index next >