summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30b7a31)
raw | patch | inline | side by side (parent: 30b7a31)
author | mittorn <mittorn@sibmail.com> | |
Sun, 24 Jul 2016 13:42:37 +0000 (13:42 +0000) | ||
committer | mittorn <mittorn@sibmail.com> | |
Sun, 24 Jul 2016 13:42:37 +0000 (13:42 +0000) |
nanoWrap.cpp | patch | blob | history |
diff --git a/nanoWrap.cpp b/nanoWrap.cpp
index fa3829e35aefd1c22e42c13e43a1db9fdcbfae00..5ea8acf7ac6060b1f1c28f5ca5c793603a942c92 100644 (file)
--- a/nanoWrap.cpp
+++ b/nanoWrap.cpp
{4,GL_FLOAT,0, NULL, GL_FALSE, GL_FALSE},
{4,GL_FLOAT,0, NULL, GL_FALSE, GL_FALSE},
{4,GL_FLOAT,0, NULL, GL_FALSE, GL_FALSE},
- {0,GL_FLOAT,0, NULL, GL_FALSE, GL_FALSE},
+ {3,GL_FLOAT,0, NULL, GL_FALSE, GL_FALSE},
};
static struct nanotmuState* activetmuState = &tmuState0;
@@ -1587,8 +1587,7 @@ void glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indi
{
glEsImpl->glDisableClientState(GL_NORMAL_ARRAY);
}
- glEsImpl->glColorPointer(tmuState0.normal_array.size,
- tmuState0.normal_array.type,
+ glEsImpl->glNormalPointer(tmuState0.normal_array.type,
tmuState0.normal_array.stride,
tmuState0.normal_array.ptr);
tmuState0.normal_array.changed = GL_FALSE;