picking works on iOS, now cleanup the code

This commit is contained in:
2017-08-02 23:15:13 +01:00
parent 95c00701f7
commit eb4cf07162
2 changed files with 0 additions and 36 deletions

View File

@@ -104,7 +104,6 @@ void ui::Canvas::pick_update(int plane)
if (!m_pick_data[plane])
m_pick_data[plane] = std::make_unique<glm::u8vec4[]>(m_width*m_height);
glReadPixels(0, 0, m_width, m_height, GL_RGBA, GL_UNSIGNED_BYTE, m_pick_data[plane].get());
LOG("read plane %d", plane);
m_tmp[i].unbindFramebuffer();
}