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:
committed by
Ted John
parent
e0e7936fd4
commit
ab39262ccf
@@ -81,8 +81,6 @@ DrawImageShader::~DrawImageShader()
|
||||
glDeleteBuffers(1, &_vbo);
|
||||
glDeleteBuffers(1, &_vboInstances);
|
||||
glDeleteVertexArrays(1, &_vao);
|
||||
|
||||
glBindVertexArray(_vao);
|
||||
}
|
||||
|
||||
void DrawImageShader::GetLocations()
|
||||
|
||||
@@ -41,8 +41,6 @@ DrawLineShader::~DrawLineShader()
|
||||
{
|
||||
glDeleteBuffers(1, &_vbo);
|
||||
glDeleteVertexArrays(1, &_vao);
|
||||
|
||||
glBindVertexArray(_vao);
|
||||
}
|
||||
|
||||
void DrawLineShader::GetLocations()
|
||||
|
||||
@@ -43,8 +43,6 @@ FillRectShader::~FillRectShader()
|
||||
{
|
||||
glDeleteBuffers(1, &_vbo);
|
||||
glDeleteVertexArrays(1, &_vao);
|
||||
|
||||
glBindVertexArray(_vao);
|
||||
}
|
||||
|
||||
void FillRectShader::GetLocations()
|
||||
|
||||
Reference in New Issue
Block a user