mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
OGL: Move attributeless VAO creation to Init.
This way we won't trash an existing bound VBO by mistake.
This commit is contained in:
@@ -714,6 +714,8 @@ void Renderer::Init()
|
||||
" ocol0 = c;\n"
|
||||
"}\n");
|
||||
|
||||
OpenGL_CreateAttributelessVAO();
|
||||
|
||||
// creating buffers
|
||||
glGenBuffers(1, &s_ShowEFBCopyRegions_VBO);
|
||||
glGenVertexArrays(1, &s_ShowEFBCopyRegions_VAO);
|
||||
|
||||
Reference in New Issue
Block a user