diff -r ce2a76cebdbb -r d19213bec2f9 src/GLCompiler.cc --- a/src/GLCompiler.cc Tue Mar 11 16:11:22 2014 +0200 +++ b/src/GLCompiler.cc Tue Mar 11 16:42:37 2014 +0200 @@ -305,7 +305,7 @@ assert (false); } - for (int complement = 0; complement < vboNumComplements; ++complement) + for (int complement = 0; complement < VBOCM_NumComplements; ++complement) { const int vbonum = vboNumber (surface, (EVBOComplement) complement); QVector& vbodata = objinfo->data[vbonum]; @@ -349,7 +349,7 @@ break; } - case vboNumComplements: + case VBOCM_NumComplements: break; } }