From d653d25b548070c688e40c052730d63345ce70c9 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 16 Jan 2009 09:05:12 +0000 Subject: [PATCH] Fix an index mismatch between setting attribute array pointers and enabling the arrays --- source/vertexarray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vertexarray.cpp b/source/vertexarray.cpp index ef118444..6740818e 100644 --- a/source/vertexarray.cpp +++ b/source/vertexarray.cpp @@ -120,7 +120,7 @@ void VertexArray::apply() const set_array(GL_TEXTURE_COORD_ARRAY, found&4, 4); set_array(GL_COLOR_ARRAY, found&8, 8); for(unsigned i=4; i<32; ++i) - set_array(i-3, (found>>i)&1, 1<>i)&1, 1<