mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-04 21:43:34 +00:00
Fix typo;
This commit is contained in:
parent
6e41c211d2
commit
4537e17894
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue