modules/graphics/src/main/java/com/sun/prism/d3d/D3DResourceFactory.java
Print this page
*** 333,343 ****
if (PrismSettings.dirtyOptsEnabled) {
rtt.contentsUseful();
}
if (rtt != null) {
! return new D3DSwapChain(context, pResource, rtt, pState.getRenderScale());
}
D3DResourceFactory.nReleaseResource(context.getContextHandle(), pResource);
}
return null;
--- 333,343 ----
if (PrismSettings.dirtyOptsEnabled) {
rtt.contentsUseful();
}
if (rtt != null) {
! return new D3DSwapChain(context, pResource, rtt, pState.getRenderScaleX(), pState.getRenderScaleY());
}
D3DResourceFactory.nReleaseResource(context.getContextHandle(), pResource);
}
return null;