From 032d5dd59093dfb0d387f9c2424790975277d1aa Mon Sep 17 00:00:00 2001 From: Johnathan Jacobs Date: Mon, 14 Oct 2024 12:27:22 +0200 Subject: [PATCH] default to not render at screen dim --- softrays/apps/demo/src/demo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/softrays/apps/demo/src/demo.cpp b/softrays/apps/demo/src/demo.cpp index a7ac43d..a131085 100644 --- a/softrays/apps/demo/src/demo.cpp +++ b/softrays/apps/demo/src/demo.cpp @@ -29,8 +29,8 @@ void RenderLoopCallback(void* arg); // NOTE: the web version 7X faster than the native one when the native one has coverage enabled, // but is slightly slower if build without -constexpr Dimension2d screen{.Width = 600, .Height = 600}; -constexpr Dimension2d renderDim{.Width = 400, .Height = 400}; +constexpr Dimension2d screen{.Width = 800, .Height = 600}; +constexpr Dimension2d renderDim{.Width = 400, .Height = 300}; constexpr auto maxFps = 60; class Renderer { @@ -42,7 +42,7 @@ class Renderer { Dimension2d ScreenDim{screen}; Dimension2d RenderDim{renderDim}; - bool RenderAtScreenDim = true; + bool RenderAtScreenDim = false; bool IncrementalRender = true; std::size_t LastRenderedPixel{}; double LastCompleteDrawTime{};