mesh progress
This commit is contained in:
parent
3c6616a242
commit
b879ceaf05
@ -27,7 +27,7 @@ public class TitleBarMesh implements Disposable {
|
|||||||
|
|
||||||
|
|
||||||
public TitleBarMesh() {
|
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"),
|
mesh = new Mesh(true, MAX_VERTS, 0, new VertexAttribute(Usage.Position, POSITION_VARS, "a_position"),
|
||||||
//still expects 4 color components
|
//still expects 4 color components
|
||||||
new VertexAttribute(Usage.ColorPacked, 4, "a_color"));
|
new VertexAttribute(Usage.ColorPacked, 4, "a_color"));
|
||||||
|
Loading…
Reference in New Issue
Block a user