mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
Prepare for supporting manual screen rotation
This commit is contained in:
1 parent
d64f367e1d
commit
340f0cff2c
5 files changed
+111
-25
No files matched your search
@@ -764,6 +764,10 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (g_display_rotation != DisplayRotation::ROTATE_0) {
|
||||
ortho = ortho * g_display_rot_matrix;
|
||||
}
|
||||
|
||||
ui_draw2d.SetDrawMatrix(ortho);
|
||||
ui_draw2d_front.SetDrawMatrix(ortho);
|
||||
|
||||
|
||||
Reference in new issue
Block a user