OGL: Use a fixed VAO for attributeless rendering.

Instead of abusing whatever VAO is previously bound, which might have
enabled arrays.

Only used in one instance currently, which fixes a crash with older
NVIDIA drivers.
This commit is contained in:
Unknown W. Brackets 2014-12-03 23:24:58 -08:00
parent f7a16eca84
commit b19cff8a08
4 changed files with 40 additions and 0 deletions

View file

@ -686,6 +686,8 @@ void Renderer::Shutdown()
delete m_post_processor;
m_post_processor = nullptr;
OpenGL_DeleteAttributelessVAO();
}
void Renderer::Init()