mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
disable VBO on windows
This commit is contained in:
parent
9fb7fcacfc
commit
94fd57154f
@ -43,7 +43,13 @@ class DLL_HEADER VisualSceneSolution : public VisualScene
|
|||||||
Point<3> p;
|
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
|
#define USE_BUFFERS
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_BUFFERS
|
#ifdef USE_BUFFERS
|
||||||
bool has_surfel_vbo = false;
|
bool has_surfel_vbo = false;
|
||||||
GLuint surfel_vbo[4]; //
|
GLuint surfel_vbo[4]; //
|
||||||
|
Loading…
Reference in New Issue
Block a user