chart2/source/view/main/GL3DRenderer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b8ec9371ad27352aa0d4abac7237f2ef54ee87c9 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Apr 29 07:57:35 2014 +0300 WaE: array index 2 is past the end of the array (which contains 2 elements) I assume index 1 was intended here. Change-Id: Ib360b4d37bc342adadc11186810db77ceee91d4e diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index 1884dab..a17c79c 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -1262,7 +1262,7 @@ int OpenGL3DRenderer::GetIndexByColor(int r, int g, int b) int OpenGL3DRenderer::ProcessPickingBox() { glViewport(0, 0, m_iWidth, m_iHeight); - glBindFramebuffer(GL_FRAMEBUFFER, m_FboID[2]); + glBindFramebuffer(GL_FRAMEBUFFER, m_FboID[1]); glClearDepth(1.0f); glClearColor(1.0, 1.0, 1.0, 1.0); if(ProcessExtrude3DPickingBox() == 1) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits