1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Remove incorrect/unnecessary OpenGL API calls

This commit is contained in:
William Wallace
2017-07-11 12:53:39 +01:00
committed by Ted John
parent e0e7936fd4
commit ab39262ccf
3 changed files with 0 additions and 6 deletions

View File

@@ -81,8 +81,6 @@ DrawImageShader::~DrawImageShader()
glDeleteBuffers(1, &_vbo);
glDeleteBuffers(1, &_vboInstances);
glDeleteVertexArrays(1, &_vao);
glBindVertexArray(_vao);
}
void DrawImageShader::GetLocations()

View File

@@ -41,8 +41,6 @@ DrawLineShader::~DrawLineShader()
{
glDeleteBuffers(1, &_vbo);
glDeleteVertexArrays(1, &_vao);
glBindVertexArray(_vao);
}
void DrawLineShader::GetLocations()

View File

@@ -43,8 +43,6 @@ FillRectShader::~FillRectShader()
{
glDeleteBuffers(1, &_vbo);
glDeleteVertexArrays(1, &_vao);
glBindVertexArray(_vao);
}
void FillRectShader::GetLocations()