diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-25 11:08:53 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-25 11:09:15 -0700 |
commit | 6f0decb1c5c65f7873c9afadbf04ab8fed7b83a0 (patch) | |
tree | de5122d9f95f6d08976c5ac12d0db580389d5a0b /tests/cubegeom.c | |
parent | 7e516c8b034c1a49524eaa140a5da9b9d94e9991 (diff) |
fix a_texCoord* usage, and use current program texture setup if present ; some texture rendering in cubegeom test
Diffstat (limited to 'tests/cubegeom.c')
-rw-r--r-- | tests/cubegeom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cubegeom.c b/tests/cubegeom.c index d5d09435..529e1355 100644 --- a/tests/cubegeom.c +++ b/tests/cubegeom.c @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) // sauer vertex data is apparently 0-12: V3F, 12: N1B, 16-24: T2F, 24-28: T2S, 28-32: C4B glVertexPointer(3, GL_FLOAT, 32, (void*)0); // all these apply to the ARRAY_BUFFER that is bound glTexCoordPointer(2, GL_FLOAT, 32, (void*)16); - glClientActiveTexture(GL_TEXTURE1); + glClientActiveTexture(GL_TEXTURE1); // XXX seems to be ignored in native build glTexCoordPointer(2, GL_SHORT, 32, (void*)24); glClientActiveTexture(GL_TEXTURE0); // likely not needed, it is a cleanup glNormalPointer(GL_BYTE, 32, (void*)12); |