mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
This commit is contained in:
1 parent
6e66f443e6
commit
a1e3be445a
6 files changed
+47
-17
No files matched your search
@@ -922,13 +922,15 @@ void VKContext::SetScissorRect(int left, int top, int width, int height) {
|
||||
}
|
||||
|
||||
void VKContext::SetViewports(int count, Viewport *viewports) {
|
||||
viewport_.x = viewports[0].TopLeftX;
|
||||
viewport_.y = viewports[0].TopLeftY;
|
||||
viewport_.width = viewports[0].Width;
|
||||
viewport_.height = viewports[0].Height;
|
||||
viewport_.minDepth = viewports[0].MinDepth;
|
||||
viewport_.maxDepth = viewports[0].MaxDepth;
|
||||
viewportDirty_ = true;
|
||||
if (count > 0) {
|
||||
viewport_.x = viewports[0].TopLeftX;
|
||||
viewport_.y = viewports[0].TopLeftY;
|
||||
viewport_.width = viewports[0].Width;
|
||||
viewport_.height = viewports[0].Height;
|
||||
viewport_.minDepth = viewports[0].MinDepth;
|
||||
viewport_.maxDepth = viewports[0].MaxDepth;
|
||||
viewportDirty_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
void VKContext::SetBlendFactor(float color[4]) {
|
||||
|
||||
Reference in new issue
Block a user