disable VBO on windows

This commit is contained in:
Joachim Schöberl 2017-04-26 12:15:05 +02:00
parent 9fb7fcacfc
commit 94fd57154f

View File

@ -43,7 +43,13 @@ class DLL_HEADER VisualSceneSolution : public VisualScene
Point<3> p;
};
#ifndef WIN32
// use OpenGL vertex buffers from OpenGL 2.x
// not supported by some drivers on windows
// try on your own responsibility
#define USE_BUFFERS
#endif
#ifdef USE_BUFFERS
bool has_surfel_vbo = false;
GLuint surfel_vbo[4]; //