mirror of
https://github.com/enduro2d/enduro2d.git
synced 2026-02-04 23:39:21 +07:00
manual buffer swapping and a manual dbgui rendering are removed. vsync is an engine parameter.
This commit is contained in:
@@ -242,10 +242,11 @@ namespace
|
||||
.property("u_MVP", MVP);
|
||||
|
||||
the<render>().execute(render::command_block<64>()
|
||||
.add_command(render::viewport_command(
|
||||
the<window>().real_size()))
|
||||
.add_command(render::clear_command()
|
||||
.color_value({1.f, 0.4f, 0.f, 1.f}))
|
||||
.add_command(render::draw_command(material_, geometry_))
|
||||
.add_command(render::swap_command(true)));
|
||||
.add_command(render::draw_command(material_, geometry_)));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user