mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Remove count parameter from SetViewports. No use foreseen.
This commit is contained in:
1 parent
1b5148bb6c
commit
49e5460c9c
16 files changed
+53
-57
No files matched your search
+2
-2
@@ -1375,7 +1375,7 @@ void EmuScreen::preRender() {
|
||||
viewport.Height = pixel_yres;
|
||||
viewport.MaxDepth = 1.0;
|
||||
viewport.MinDepth = 0.0;
|
||||
draw->SetViewports(1, &viewport);
|
||||
draw->SetViewport(viewport);
|
||||
}
|
||||
draw->SetTargetSize(pixel_xres, pixel_yres);
|
||||
}
|
||||
@@ -1523,7 +1523,7 @@ void EmuScreen::renderUI() {
|
||||
viewport.Height = pixel_yres;
|
||||
viewport.MaxDepth = 1.0;
|
||||
viewport.MinDepth = 0.0;
|
||||
thin3d->SetViewports(1, &viewport);
|
||||
thin3d->SetViewport(viewport);
|
||||
|
||||
if (root_) {
|
||||
UI::LayoutViewHierarchy(*ctx, root_, false);
|
||||
|
||||
Reference in new issue
Block a user