mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 17:09:19 +02:00
basic GLES working again
This commit is contained in:
@@ -29,6 +29,8 @@ void gl::vao::setup_attrib(gl::buffer &buffer, int attrib, int size, int type, i
|
||||
glEnableVertexAttribArray(attrib);
|
||||
}
|
||||
else {
|
||||
if (attrib == 0)
|
||||
params.clear();
|
||||
params.push_back({buffer, attrib, size, type, stride, offset});
|
||||
active = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user