Skip to content

Commit

Permalink
default to not render at screen dim
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonStorm97 committed Oct 14, 2024
1 parent fcc0cf1 commit 032d5dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions softrays/apps/demo/src/demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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{};
Expand Down

0 comments on commit 032d5dd

Please sign in to comment.