lightmap draw shift fixed; game will properly resize

This commit is contained in:
minjaesong
2017-10-16 22:47:16 +09:00
parent 676be82f7f
commit 9cf694b5d7
7 changed files with 60 additions and 38 deletions

View File

@@ -178,7 +178,10 @@ public class TerrarumAppLoader implements ApplicationListener {
public void resize(int width, int height) {
//initViewPort(width, height);
Terrarum.INSTANCE.resize(width, height);
if (screen != null) screen.resize(width, height);
System.out.println("[AppLoader] Resize event");
}
@Override