mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 06:54:58 +02:00
Downgrade OpenGL version requirement to 3.1
There are only a few features required from newer versions, and they can be achieved via extensions. This significantly improves compatibility.
This commit is contained in:
@@ -306,7 +306,7 @@ add_located_attribute_to_vao(ssize_t vao_idx, GLint aloc, GLint size, GLenum dat
|
||||
break;
|
||||
}
|
||||
if (divisor) {
|
||||
glVertexAttribDivisor(aloc, divisor);
|
||||
glVertexAttribDivisorARB(aloc, divisor);
|
||||
}
|
||||
unbind_buffer(buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user