renderer_opengl: DrawSingleScreen*: remove duplicate code (#6426)

Co-authored-by: Tobias <thm.frey@gmail.com>
This commit is contained in:
SachinVin 2023-05-01 19:57:42 +05:30 committed by GitHub
parent 9dc71e3347
commit ce553ab995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 172 additions and 231 deletions

View file

@ -9,6 +9,14 @@
namespace Layout {
/// Orientation of the 3DS displays
enum class DisplayOrientation {
Landscape, // Default orientation of the 3DS
Portrait, // 3DS rotated 90 degrees counter-clockwise
LandscapeFlipped, // 3DS rotated 180 degrees counter-clockwise
PortraitFlipped, // 3DS rotated 270 degrees counter-clockwise
};
/// Describes the horizontal coordinates for the right eye screen when using Cardboard VR
struct CardboardSettings {
u32 top_screen_right_eye;