Merge branch 'hotffix/fix_macosx_catalina_glfw' into feature/scripting

This commit is contained in:
2019-10-22 02:27:44 +07:00
14 changed files with 103 additions and 42 deletions

View File

@@ -47,7 +47,7 @@ namespace
[](const ecs::const_entity&, camera& cam){
if ( !cam.target() ) {
cam.viewport(
the<window>().real_size());
the<window>().framebuffer_size());
cam.projection(math::make_orthogonal_lh_matrix4(
the<window>().real_size().cast_to<f32>(), 0.f, 1000.f));
}