Kaydet (Commit) b8ec9371 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst aed63550
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment