1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

fixed a crash caused by glhr::init on some video cards

This commit is contained in:
Zeno Rogue 2020-08-10 18:06:11 +02:00
parent 0926b98c83
commit f59fd7b0c9

View File

@ -664,6 +664,9 @@ void init() {
GLERR("aPosition");
// #endif
glDisableVertexAttribArray(aTexture);
glDisableVertexAttribArray(aColor);
#if CAP_VERTEXBUFFER
glGenBuffers(1, &buf_current);
glGenBuffers(1, &buf_buffered);