Skip to content
Commit f9c9bb6c authored by Alvin Wong's avatar Alvin Wong 🤔
Browse files

Windows: Reset screen rotation after probing QPA OpenGL

If the Windows QPA OpenGL blacklist has disabled rotation for the
device, it does not reset the screen rotation preference and as a
result the screen orientation will remain locked in landscape even if
ANGLE is enabled or the QPainter canvas is used.

This change works around it by resetting the screen rotation after
the QPA OpenGL probing. The display might still be forced into landscape
for a split second during startup, but it is better than being locked
entirely.

CCBUG: 390651
parent 69d5f620
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment