mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-16 14:08:59 +07:00
Merge branch 'hotffix/fix_macosx_catalina_glfw' into feature/scripting
This commit is contained in:
@@ -43,7 +43,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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user