google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

Home Page:https://google.github.io/filament/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

demo hello-pbr cannot work well in iphone 8 plus device

dandingol03 opened this issue · comments

Describe the bug
the demo hello-pbr which use [[UIScreen mainScreen] nativeBounds] cannot get the device's width and height correctly, the filament view's size is not equal to the screen size.
To Reproduce
Steps to reproduce the behavior:

  1. run demo hello-pbr on iphone 8 plus device

Screenshots
image

Smartphone (please complete the following information):

  • Device: [e.g. iphone 8 plus]
  • OS: [e.g. ios 14.0.1]

@dandingol03 Can you verify that #5488 fixes the issue?

ok