aboutsummaryrefslogtreecommitdiff
path: root/app/rendercoord.cpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-08-11 21:21:02 +0200
committerJulian T <julian@jtle.dk>2020-08-11 21:21:02 +0200
commit690b72664ca8d471f5c117f6ed87aeae2de0a208 (patch)
tree8bc30efc009462d4390ac6eb8fe28ccbdbbd88a1 /app/rendercoord.cpp
parent3b8893902ac5f529faf15accaa3fb5360771d3b3 (diff)
Defuse coloring
Diffstat (limited to 'app/rendercoord.cpp')
-rw-r--r--app/rendercoord.cpp2
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));
}