From 690b72664ca8d471f5c117f6ed87aeae2de0a208 Mon Sep 17 00:00:00 2001 From: Julian T Date: Tue, 11 Aug 2020 21:21:02 +0200 Subject: Defuse coloring --- app/rendercoord.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/rendercoord.cpp') 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(colorToUint32(c)); } -- cgit v1.2.3