From ae41d2131b7e419bde777a10933bcb0f31eda050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o?= Date: Wed, 23 Jun 2021 20:47:37 +0200 Subject: [PATCH] shader removed on the endRound message --- src/gameplay/match/match.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gameplay/match/match.java b/src/gameplay/match/match.java index a64dcfb..12c9c61 100644 --- a/src/gameplay/match/match.java +++ b/src/gameplay/match/match.java @@ -139,7 +139,6 @@ public class match { System.out.println("P1 won the round"); roundWon = new UIElementText("Player1 won the round", 5f, 0.25f, 0.5f, 100f, engine); roundWon.setBackground(new Vector3f(0f,0f,0f)); - roundWon.setShader("shaders/StylishShaders/WavyTextVert.glsl", "shaders/StylishShaders/TextFrag.glsl", true, true); engine.add_uiElement(roundWon); engine.update(); engine.render(); @@ -157,7 +156,6 @@ public class match { System.out.println("P2 won the round"); roundWon = new UIElementText("Player2 won the round", 5f, 0.25f, 0.5f, 100f, engine); roundWon.setBackground(new Vector3f(0f,0f,0f)); - roundWon.setShader("shaders/StylishShaders/WavyTextVert.glsl", "shaders/StylishShaders/TextFrag.glsl", true, true); engine.add_uiElement(roundWon); engine.update(); engine.render();