Resolution fixed and Centered text

This commit is contained in:
viktorljung
2016-01-19 11:45:34 +01:00
parent c4594524da
commit dbe56280a6
9 changed files with 80 additions and 30 deletions
+2 -2
View File
@@ -74,9 +74,9 @@ void PickingPass::Draw(RenderScene& scene)
m_EntityColors[std::make_tuple(pickInfo.Entity, pickInfo.World, pickInfo.Camera)] = glm::ivec2(pickColor[0], pickColor[1]);
if (m_ColorCounter[0] > 255) {
m_ColorCounter[0] = 0;
m_ColorCounter[1]++;;
m_ColorCounter[1]++;
} else {
m_ColorCounter[0]++;;
m_ColorCounter[0]++;
}
}