modules/graphics/src/main/java/com/sun/prism/null3d/DummySwapChain.java

Print this page

        

@@ -88,11 +88,17 @@
 
     public int getContentY() {
         return 0;
     }
 
-    public float getPixelScaleFactor() {
+    @Override
+    public float getPixelScaleFactorX() {
+        return 1.0f;
+    }
+
+    @Override
+    public float getPixelScaleFactorY() {
         return 1.0f;
     }
 
     public Graphics createGraphics() {
         return DummyGraphics.create(texBackBuffer, context);