This commit is contained in:
Anuken
2020-03-10 12:40:24 -04:00
parent 860efdc052
commit 9398ac5088
3 changed files with 2 additions and 7 deletions

View File

@@ -120,7 +120,7 @@ public class Renderer implements ApplicationListener{
}
bloom = new Bloom(true);
bloom.setClearColor(0f, 0f, 0f, 0f);
}catch(Exception e){
}catch(Throwable e){
e.printStackTrace();
settings.put("bloom", false);
settings.save();
@@ -339,10 +339,8 @@ public class Renderer implements ApplicationListener{
camera.height = h;
camera.position.x = w / 2f + tilesize / 2f;
camera.position.y = h / 2f + tilesize / 2f;
Draw.flush();
buffer.begin();
draw();
Draw.flush();
buffer.end();
disableUI = false;
camera.width = vpW;

View File

@@ -38,11 +38,8 @@ public class Pixelator implements Disposable{
buffer.resize(w, h);
}
Draw.flush();
buffer.begin();
renderer.draw();
Draw.flush();
buffer.end();
Draw.blend(Blending.disabled);

View File

@@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=f5b00862559f6cc2bbe3527cf452e6eb9c714c45
archash=c67c4f5e41e941f74cf184d67b486545fb2dfb46