diff options
Diffstat (limited to 'src/render/gl_batch.h')
| -rw-r--r-- | src/render/gl_batch.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/gl_batch.h b/src/render/gl_batch.h index 7ca9fe3..944521f 100644 --- a/src/render/gl_batch.h +++ b/src/render/gl_batch.h @@ -91,7 +91,6 @@ inline void gl_batch_empty( GL_BATCH<VERTEX>* batch ) { template <typename VERTEX> inline void gl_batch_draw( GL_BATCH<VERTEX>* batch ) { glUseProgram( batch->shader->id ); - glBindVertexArray( batch->gl->vao ); VEC2 vp_start, vp_dim, clip_start, clip_dim; gl_get_viewport( batch->gl, &vp_start, &vp_dim ); @@ -118,7 +117,6 @@ inline void gl_batch_draw( GL_BATCH<VERTEX>* batch ) { gl_set_viewport( batch->gl, vp_start, vp_dim ); gl_set_clip( batch->gl, clip_start, clip_dim ); - glBindVertexArray( 0 ); } template <typename VERTEX> |
