mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-09 00:12:56 +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:
|
case 1:
|
||||||
return {0, 0, w, h};
|
return {0, 0, w, h};
|
||||||
case 2:
|
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:
|
default:
|
||||||
switch (screen)
|
switch (screen)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue