Kaydet (Commit) ae119407 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

fix the line color again

still was set to my debug values

Change-Id: I1b993450fee7be75a0a9e98fb99ffdea0c23baca
üst b391832c
......@@ -616,8 +616,7 @@ int OpenGLRender::RenderLine2FBO(int)
glUseProgram(m_CommonProID);
CHECK_GL_ERROR();
glm::vec4 aColor(1.0,0.5,0.5,0.5);
glUniform4fv(m_2DColorID, 1, &aColor[0]);
glUniform4fv(m_2DColorID, 1, &m_Line2DColor[0]);
CHECK_GL_ERROR();
glUniformMatrix4fv(m_MatrixID, 1, GL_FALSE, &m_MVP[0][0]);
//CHECK_GL_ERROR();
......
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