mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
thin3d: Only use VAOs in core profile.
This commit is contained in:
parent
5ff7781a3c
commit
279d3b20cf
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ void Thin3DGLVertexFormat::Compile() {
|
|||
semanticsMask_ = sem;
|
||||
// TODO : Compute stride as well?
|
||||
|
||||
if (gl_extensions.ARB_vertex_array_object) {
|
||||
if (gl_extensions.ARB_vertex_array_object && gl_extensions.IsCoreContext) {
|
||||
glGenVertexArrays(1, &id_);
|
||||
} else {
|
||||
id_ = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue