mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-03 19:48:51 +00:00
fixed a crash caused by glhr::init on some video cards
This commit is contained in:
@@ -663,6 +663,9 @@ void init() {
|
||||
WITHSHADER(glEnableVertexAttribArray(aPosition);, glEnableClientState(GL_VERTEX_ARRAY);)
|
||||
GLERR("aPosition");
|
||||
// #endif
|
||||
|
||||
glDisableVertexAttribArray(aTexture);
|
||||
glDisableVertexAttribArray(aColor);
|
||||
|
||||
#if CAP_VERTEXBUFFER
|
||||
glGenBuffers(1, &buf_current);
|
||||
|
||||
Reference in New Issue
Block a user