mirror of https://github.com/bjornbytes/lovr.git
Fix Mesh;
This commit is contained in:
parent
c76df39407
commit
9f6f993903
|
@ -122,6 +122,7 @@ void lovrMeshDraw(Mesh* mesh, mat4 transform) {
|
|||
lovrGraphicsPush();
|
||||
lovrGraphicsMatrixTransform(transform);
|
||||
lovrGraphicsBindTexture(mesh->texture);
|
||||
lovrGraphicsSetDefaultShader(SHADER_DEFAULT);
|
||||
lovrGraphicsPrepare();
|
||||
lovrGraphicsBindVertexArray(mesh->vao);
|
||||
lovrMeshBindAttributes(mesh);
|
||||
|
|
Loading…
Reference in New Issue