< prev index next >

src/java.desktop/macosx/classes/sun/java2d/OSXSurfaceData.java

Print this page

        

*** 598,610 **** this.fGraphicsStatesInt.put(kColorHeightIndex, texturePaintImage.getHeight()); this.fGraphicsStatesFloat.put(kColortxIndex, (float) userBounds.getX()); this.fGraphicsStatesFloat.put(kColortyIndex, (float) userBounds.getY()); this.fGraphicsStatesFloat.put(kColorsxIndex, 1.0f); this.fGraphicsStatesFloat.put(kColorsyIndex, 1.0f); ! this.fGraphicsStatesObject[kTextureImageIndex] = sun.awt.image.BufImgSurfaceData.createData(texturePaintImage); - context.dispose(); this.fChangeFlag = (this.fChangeFlag | kColorChangedBit); } else { this.fChangeFlag = (this.fChangeFlag & kColorNotChangedBit); } --- 598,609 ---- this.fGraphicsStatesInt.put(kColorHeightIndex, texturePaintImage.getHeight()); this.fGraphicsStatesFloat.put(kColortxIndex, (float) userBounds.getX()); this.fGraphicsStatesFloat.put(kColortyIndex, (float) userBounds.getY()); this.fGraphicsStatesFloat.put(kColorsxIndex, 1.0f); this.fGraphicsStatesFloat.put(kColorsyIndex, 1.0f); ! this.fGraphicsStatesObject[kTextureImageIndex] = OSXOffScreenSurfaceData.createNewSurface(texturePaintImage); this.fChangeFlag = (this.fChangeFlag | kColorChangedBit); } else { this.fChangeFlag = (this.fChangeFlag & kColorNotChangedBit); }
< prev index next >