mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
This commit is contained in:
@@ -220,7 +220,10 @@ namespace
|
||||
|
||||
the<render>().execute(render::command_block<64>()
|
||||
.add_command(render::target_command(nullptr))
|
||||
.add_command(render::viewport_command(the<window>().real_size()))
|
||||
.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::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