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);