1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 20:43:35 +00:00

Fix typo;

This commit is contained in:
bjorn 2017-04-20 21:20:43 -07:00
parent 6e41c211d2
commit 4537e17894

View file

@ -20,7 +20,7 @@ static void lovrMeshBindAttributes(Mesh* mesh) {
if (location >= 0 && (mesh->enabledAttributes & (1 << i))) { if (location >= 0 && (mesh->enabledAttributes & (1 << i))) {
glEnableVertexAttribArray(location); glEnableVertexAttribArray(location);
if (attribute.type == MESH_INT ) { if (attribute.type == MESH_INT) {
if (GLAD_GL_ES_VERSION_2_0) { if (GLAD_GL_ES_VERSION_2_0) {
error("Integer attributes are not supported on this platform."); error("Integer attributes are not supported on this platform.");
} else { } else {