diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-15 03:58:04 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-15 05:16:35 +0100 |
commit | 110e5a1749ed49e77a06ff35b329e92049580184 (patch) | |
tree | bf4716b2fd97e15dd86f423556e5650236f92180 /chart2 | |
parent | remove unused shader (diff) | |
download | core-110e5a1749ed49e77a06ff35b329e92049580184.tar.gz core-110e5a1749ed49e77a06ff35b329e92049580184.zip |
fix OpenGL resource leak
Change-Id: I56d00381dc023273c406a134c0828bda89d4d6b2
Diffstat (limited to 'chart2')
-rwxr-xr-x | chart2/source/view/main/OpenGLRender.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx index 55feba51838d..8ecc8880dcc4 100755 --- a/chart2/source/view/main/OpenGLRender.cxx +++ b/chart2/source/view/main/OpenGLRender.cxx @@ -634,6 +634,7 @@ void OpenGLRender::Release() { glDeleteBuffers(1, &m_VertexBuffer); glDeleteBuffers(1, &m_ColorBuffer); + glDeleteBuffers(1, &m_TextTexCoordBuf); glDeleteProgram(m_CommonProID); glDeleteProgram(m_TextProID); glDeleteProgram(m_BackgroundProID); |