diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-28 13:22:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-28 13:22:18 -0700 |
commit | 13f90869aebc6a6ee9c280be4bfd29eeaa92b14c (patch) | |
tree | b6bac91c5411e747a068604cd2d0c25ad24f9663 /tests/cubegeom_pre.c | |
parent | dd49d1d8b5a8585eeb2a475ac47f7bc1ac91cbed (diff) |
fix prepareClientAttributes bugs: handle non-packed vertex attributes properly
Diffstat (limited to 'tests/cubegeom_pre.c')
-rw-r--r-- | tests/cubegeom_pre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cubegeom_pre.c b/tests/cubegeom_pre.c index bafead25..8001a2b8 100644 --- a/tests/cubegeom_pre.c +++ b/tests/cubegeom_pre.c @@ -282,7 +282,7 @@ int main(int argc, char *argv[]) glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 32, (void*)0); glEnableVertexAttribArray(0); - glBindAttribLocation(program, 1, "v_texCoord0"); + glBindAttribLocation(program, 1, "a_texCoord0"); glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 32, (void*)16); glEnableVertexAttribArray(1); |