aap / librw

A re-implementation of the RenderWare Graphics engine
MIT License
579 stars 95 forks source link

Screen rotation issue under Wayland #121

Open Shatur opened 1 year ago

Shatur commented 1 year ago

I running reVC on PinePhone Pro and it runs fine via Xwayland (by using glfw-x11). But if I switch to glfw-wayland it does not take screen rotation into account. Right after startup It tries to set resolution for vertical rotation even if current rotation is horizontal. Rotating the phone back and forth once fixes the issue for menu, but ingame rendering is still incorrect. Let me know if this issue is unrelated to librw or related to glfw.

Screenshots

photo_2023-05-12_19-08-18 (2) photo_2023-05-12_19-08-18