From 849cc591bcb57b023eb94d76263e7b8d2fcec277 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 11 Nov 2016 18:34:06 +0100 Subject: [PATCH] Revert "Use GL_STREAM_DRAW" This reverts commit df4107b54148de226b48ea83ef359a5531161f1b. --- gfx/drivers_shader/shader_glsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_shader/shader_glsl.c b/gfx/drivers_shader/shader_glsl.c index d502422e73..203f0c677b 100644 --- a/gfx/drivers_shader/shader_glsl.c +++ b/gfx/drivers_shader/shader_glsl.c @@ -506,7 +506,7 @@ static void gl_glsl_set_vbo(GLfloat **buffer, size_t *buffer_elems, memcpy(*buffer, data, elems * sizeof(GLfloat)); #endif glBufferData(GL_ARRAY_BUFFER, elems * sizeof(GLfloat), - data, GL_STREAM_DRAW); + data, GL_STATIC_DRAW); *buffer_elems = elems; } }