enable retina by default because retina disabling was broken in catalina

This commit is contained in:
2019-10-21 11:17:49 +07:00
parent f211c1f287
commit 0ac38ec3e5
9 changed files with 49 additions and 33 deletions

View File

@@ -231,8 +231,8 @@ namespace
.add_command(render::target_command(nullptr))
.add_command(render::clear_command()
.color_value(color::blue()))
.add_command(render::viewport_command(the<window>().real_size())
.scissor_rect(make_rect(v2u{100u}, the<window>().real_size() - 200u)))
.add_command(render::viewport_command(the<window>().framebuffer_size())
.scissor_rect(make_rect(v2u{100u}, the<window>().framebuffer_size() - 200u)))
.add_command(render::clear_command()
.color_value({1.f, 0.4f, 0.f, 1.f}))
.add_command(render::draw_command(material_, geometry_, rt_props_)));