mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-08 08:12:57 +12:00
Screen layouts: Add configurable screen sizes
This commit is contained in:
parent
62748eef47
commit
1c0f65c740
4 changed files with 92 additions and 89 deletions
|
@ -93,9 +93,13 @@ class RendererMTL final : public Renderer {
|
|||
struct {
|
||||
float topScreenX = 0;
|
||||
float topScreenY = 0;
|
||||
float topScreenWidth = 400;
|
||||
float topScreenHeight = 240;
|
||||
|
||||
float bottomScreenX = 40;
|
||||
float bottomScreenY = 240;
|
||||
float scale = 1.0;
|
||||
float bottomScreenWidth = 320;
|
||||
float bottomScreenHeight = 240;
|
||||
} blitInfo;
|
||||
|
||||
// Debug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue