This website works better with JavaScript.
Home
Help
Sign In
ben
/
goldfish
mirror of
https://github.com/earwig/goldfish
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
No scaling if width, height are greater than 256
master
Lee
12 years ago
parent
361b560d36
commit
7b8338d188
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
Render.scale = 4;
} else if (height <= 256 || width <= 256) {
} else if (height <= 256 || width <= 256) {
Render.scale = 2;
Render.scale = 2;
} else {
Render.scale = 1;
}
}
}
}
Write
Preview
Loading…
Cancel
Save