fix shaders path

This commit is contained in:
Léo 2021-06-24 19:10:37 +02:00
parent 56fe115fb9
commit 0e6ca0ae3e
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ public class UIInputList extends UIDummy{
}
if (obj != null){
listIcon.add(obj);
obj.setShader("shaders/ObjectGlTex/vert.glsl", "shaders/ObjectGlTex/frag.glsl");
obj.setShader("/shaders/ObjectGlTex/vert.glsl", "/shaders/ObjectGlTex/frag.glsl");
engine.add_objectGl(obj);
}
}

View File

@ -132,7 +132,7 @@ public class match {
System.out.println(victoryTxt);
matchWon = new UIElementText(victoryTxt, 5f, 0.25f, 0.5f, 200f, engine);
matchWon.setShader("shaders/StylishShaders/WavyTextVert.glsl", "shaders/StylishShaders/TextFrag.glsl", true, true);
matchWon.setShader("/shaders/StylishShaders/WavyTextVert.glsl", "/shaders/StylishShaders/TextFrag.glsl", true, true);
engine.add_uiElement(matchWon);
timeStamp1 = System.currentTimeMillis();