mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
make vao mode selectable at runtime (enabled by default, disabled by multiviewports)
This commit is contained in:
@@ -450,6 +450,7 @@ bool opengl_renderer::init_viewport(viewport_config &vp)
|
||||
if (!Global.gfx_usegles)
|
||||
glEnable(GL_PROGRAM_POINT_SIZE);
|
||||
|
||||
if (!gl::vao::use_vao)
|
||||
{
|
||||
GLuint v;
|
||||
glGenVertexArrays(1, &v);
|
||||
|
||||
Reference in New Issue
Block a user