mesh progress

This commit is contained in:
Harrison Deng 2017-09-21 08:07:50 -05:00
parent 3c6616a242
commit b879ceaf05

View File

@ -27,7 +27,7 @@ public class TitleBarMesh implements Disposable {
public TitleBarMesh() {
shader = new ShaderProgram(Gdx.files.internal("shaders/mesh.vsh"), Gdx.files.internal("shaders/mesh.vsh"));
shader = new ShaderProgram(Gdx.files.internal("shaders/mesh.vsh"), Gdx.files.internal("shaders/mesh.fsh"));
mesh = new Mesh(true, MAX_VERTS, 0, new VertexAttribute(Usage.Position, POSITION_VARS, "a_position"),
//still expects 4 color components
new VertexAttribute(Usage.ColorPacked, 4, "a_color"));