igl
igl copied to clipboard
vulkan screen rotation
There are two questions about switching landscape and portrait mode on vulkan:
- After opening the app, when rendering vulkan, switch landscape and portrait mode will cause a crash.
- On a landscape mode screen pad, open the app in portrait mode. The content displayed by vulkan is wrong, as shown in the picture below. Its image is rotated 90 degrees clockwise.
OpenGLES | Vulkan | |
---|---|---|
Landscape mode | ||
Portrait mode | [Wrong] |