diff options
author | Julian T <julian@jtle.dk> | 2020-08-11 21:21:02 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-08-11 21:21:02 +0200 |
commit | 690b72664ca8d471f5c117f6ed87aeae2de0a208 (patch) | |
tree | 8bc30efc009462d4390ac6eb8fe28ccbdbbd88a1 /app/rendercoord.cpp | |
parent | 3b8893902ac5f529faf15accaa3fb5360771d3b3 (diff) |
Defuse coloring
Diffstat (limited to 'app/rendercoord.cpp')
-rw-r--r-- | app/rendercoord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/rendercoord.cpp b/app/rendercoord.cpp index 8db7c97..f9fc9f8 100644 --- a/app/rendercoord.cpp +++ b/app/rendercoord.cpp @@ -30,7 +30,7 @@ void RenderThread::run() { for (unsigned x = 0; x < m_render.m_width; x++) { for (unsigned y = 0; y < m_render.m_height; y++) { - auto c = m_render.render(x, y); + auto c = m_render.render(m_render.m_width - x, m_render.m_height - y); m_writebuffer[x + y * m_render.m_height] = static_cast<QRgb>(colorToUint32(c)); } |