--- a/src/gl/partrenderer.cpp Mon Mar 09 23:42:26 2020 +0200 +++ b/src/gl/partrenderer.cpp Wed Mar 11 17:19:28 2020 +0200 @@ -341,7 +341,7 @@ this->renderPreferences.style = gl::RenderStyle::PickScene; this->makeCurrent(); this->renderScene(); - std::array<GLbyte, 3> data; + std::array<GLubyte, 3> data; this->checkForGLErrors(); glReadPixels(where.x(), this->height() - where.y(), 1, 1, GL_RGB, GL_UNSIGNED_BYTE, &data[0]); this->checkForGLErrors();