diff -r b4a990f59a5e -r 56f1b77951c8 src/glRenderer.cc --- a/src/glRenderer.cc Thu Apr 17 20:50:43 2014 +0300 +++ b/src/glRenderer.cc Thu Apr 17 21:49:53 2014 +0300 @@ -463,13 +463,11 @@ { int surfacenum = m_compiler->vboNumber (surface, VBOCM_Surfaces); int colornum = m_compiler->vboNumber (surface, colors); - m_compiler->prepareVBO (surfacenum); m_compiler->prepareVBO (colornum); GLuint surfacevbo = m_compiler->vbo (surfacenum); GLuint colorvbo = m_compiler->vbo (colornum); - GLsizei count = m_compiler->vboSize (surfacevbo) / 3; - print ("Count: %1\n", (int) count ); + GLsizei count = m_compiler->vboSize (surfacenum) / 3; if (count > 0) {