mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-2p-splitscreen-viewports' into 'master'
Fix 2P splitscreen viewports being out of order See merge request KartKrew/Kart!1180
This commit is contained in:
commit
563e2f2ffd
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ static Rect get_screen_viewport(uint32_t screen, uint32_t screens, uint32_t w, u
|
|||
case 1:
|
||||
return {0, 0, w, h};
|
||||
case 2:
|
||||
return {0, screen == 1 ? (static_cast<int32_t>(h) / 2) : 0, w, (h / 2)};
|
||||
return {0, screen == 0 ? (static_cast<int32_t>(h) / 2) : 0, w, (h / 2)};
|
||||
default:
|
||||
switch (screen)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue