mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 00:11:55 +07:00
enable retina by default because retina disabling was broken in catalina
This commit is contained in:
@@ -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_)));
|
||||
|
||||
Reference in New Issue
Block a user