modules/graphics/src/main/java/com/sun/glass/ui/gtk/GtkApplication.java

Print this page

        

@@ -271,12 +271,12 @@
     public Pixels createPixels(int width, int height, IntBuffer data) {
         return new GtkPixels(width, height, data);
     }
 
     @Override
-    public Pixels createPixels(int width, int height, IntBuffer data, float scale) {
-        return new GtkPixels(width, height, data, scale);
+    public Pixels createPixels(int width, int height, IntBuffer data, float scalex, float scaley) {
+        return new GtkPixels(width, height, data, scalex, scaley);
     }
 
     @Override
     protected int staticPixels_getNativeFormat() {
         return Pixels.Format.BYTE_BGRA_PRE; // TODO