mirror of
https://github.com/enduro2d/enduro2d.git
synced 2026-01-08 15:09:45 +07:00
viewport_command to int coord
This commit is contained in:
@@ -254,7 +254,7 @@ namespace
|
||||
|
||||
the<render>().execute(render::command_block<64>()
|
||||
.add_command(render::viewport_command(
|
||||
the<window>().framebuffer_size()))
|
||||
the<window>().framebuffer_size().cast_to<i32>()))
|
||||
.add_command(render::clear_command()
|
||||
.color_value({1.f, 0.4f, 0.f, 1.f}))
|
||||
.add_command(render::draw_command(material_, geometry_)));
|
||||
|
||||
Reference in New Issue
Block a user