modules/graphics/src/main/java/com/sun/prism/d3d/D3DResourceFactory.java

Print this page

        

@@ -333,11 +333,11 @@
             if (PrismSettings.dirtyOptsEnabled) {
                 rtt.contentsUseful();
             }
 
             if (rtt != null) {
-                return new D3DSwapChain(context, pResource, rtt, pState.getRenderScale());
+                return new D3DSwapChain(context, pResource, rtt, pState.getRenderScaleX(), pState.getRenderScaleY());
             }
 
             D3DResourceFactory.nReleaseResource(context.getContextHandle(), pResource);
         }
         return null;