mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00: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:
parent
290fd545e6
commit
de2abbed17
3 changed files with 14 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue