viewport_command to int coord

This commit is contained in:
2020-01-27 03:56:53 +07:00
parent ad81e7e5df
commit 3c58d83d8c
12 changed files with 28 additions and 36 deletions

View File

@@ -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_)));