summaryrefslogtreecommitdiff
path: root/src/render/gl_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/gl_3d.cpp')
-rw-r--r--src/render/gl_3d.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/gl_3d.cpp b/src/render/gl_3d.cpp
index 7209f61..40162e8 100644
--- a/src/render/gl_3d.cpp
+++ b/src/render/gl_3d.cpp
@@ -69,7 +69,6 @@ void gl_3d_polygon(
GL_TEX2D* tex
) {
glUseProgram( gl3d->id );
- glBindVertexArray( gl3d->gl->vao );
if( !!tex ) {
glActiveTexture( GL_TEXTURE0 );
@@ -100,8 +99,6 @@ void gl_3d_polygon(
glBindBuffer( GL_ARRAY_BUFFER, 0 );
glDrawElements( GL_TRIANGLE_FAN, vertices_count, GL_UNSIGNED_SHORT, order );
-
- glBindVertexArray( 0 );
}
void gl_3d_polygon_fan(