shader removed on the endRound message
This commit is contained in:
parent
6c9c87b50e
commit
ae41d2131b
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user