mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
workaround for ebo binding issues, do not enable ai vehicles automatically on map
This commit is contained in:
@@ -38,6 +38,8 @@ void gl::vao::setup_ebo(buffer &e)
|
||||
{
|
||||
if (use_vao) {
|
||||
bind();
|
||||
// ELEMENT_ARRAY_BUFFER is part of VAO and therefore shouldn't be managed by gl::buffer global tracker!
|
||||
// but it is needed by it for buffer data management, so eh
|
||||
e.bind(buffer::ELEMENT_ARRAY_BUFFER);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user