diff -r 8e3058cb9281 -r ce2a76cebdbb src/GLShared.h --- a/src/GLShared.h Tue Mar 11 15:44:27 2014 +0200 +++ b/src/GLShared.h Tue Mar 11 16:11:22 2014 +0200 @@ -38,21 +38,21 @@ enum EVBOSurface { - vboLines, - vboTriangles, - vboQuads, - vboCondLines, - vboNumSurfaces + VBOSF_Lines, + VBOSF_Triangles, + VBOSF_Quads, + VBOSF_CondLines, + VBOSF_NumSurfaces }; enum EVBOComplement { - vboSurfaces, - vboNormalColors, - vboPickColors, - vboBFCFrontColors, - vboBFCBackColors, - vboNumComplements + VBOCM_Surfaces, + VBOCM_NormalColors, + VBOCM_PickColors, + VBOCM_BFCFrontColors, + VBOCM_BFCBackColors, + VBOCM_NumComplements }; // KDevelop doesn't seem to understand some VBO stuff @@ -65,6 +65,6 @@ void glBufferData (GLuint, GLuint, void*, GLuint); #endif -static const int g_numVBOs = vboNumSurfaces * vboNumComplements; +static const int g_numVBOs = VBOSF_NumSurfaces * VBOCM_NumComplements; #endif // LDFORGE_GLSHARED_H \ No newline at end of file