Transition to Framebuffer#blit

This commit is contained in:
Anuken
2020-06-10 21:07:21 -04:00
parent 6648a9ff1a
commit 2a9008f042
12 changed files with 25 additions and 28 deletions

View File

@@ -238,11 +238,7 @@ public class Renderer implements ApplicationListener{
Draw.drawRange(Layer.shields, 1f, () -> effectBuffer.begin(Color.clear), () -> {
effectBuffer.end();
Draw.shader(Shaders.shield);
Draw.color(Pal.accent);
Draw.rect(effectBuffer);
Draw.color();
Draw.shader();
effectBuffer.blit(Shaders.shield);
});
}