Fixed a renderer heisenbug that caused multiple single-pixel alignment issues.

This commit is contained in:
Leon Styhre 2022-04-18 10:17:05 +02:00
parent c4e787427e
commit 63e7b58ec0

View file

@ -278,7 +278,6 @@ void RendererOpenGL::destroyContext()
void RendererOpenGL::setMatrix(const glm::mat4& matrix)
{
mTrans = matrix;
mTrans[3] = glm::round(mTrans[3]);
mTrans = getProjectionMatrix() * mTrans;
}