Browse Source

No scaling if width, height are greater than 256

master
Lee 12 years ago
parent
commit
7b8338d188
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/Render.java

+ 2
- 0
src/Render.java View File

@@ -50,6 +50,8 @@ public class Render extends Canvas implements Runnable {
Render.scale = 4;
} else if (height <= 256 || width <= 256) {
Render.scale = 2;
} else {
Render.scale = 1;
}
}


Loading…
Cancel
Save