mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-28 07:50:49 +00:00
GPU: Assume a scissor of 481x273 is a mistake.
We already do this for viewport, and only when region is still a correct size. Helps flicker in Everybody's Golf.
This commit is contained in:
parent
0d2acb6d73
commit
a95f3111cf
@ -234,6 +234,10 @@ void FramebufferManagerCommon::EstimateDrawingSize(u32 fb_address, GEBufferForma
|
||||
drawing_width = scissor_width;
|
||||
drawing_height = std::max(drawing_height, scissor_height);
|
||||
}
|
||||
if (scissor_width == 481 && region_width == 480 && scissor_height == 273 && region_height == 272) {
|
||||
drawing_width = 480;
|
||||
drawing_height = 272;
|
||||
}
|
||||
} else {
|
||||
// If viewport wasn't valid, let's just take the greatest anything regardless of stride.
|
||||
drawing_width = std::min(std::max(region_width, scissor_width), fb_stride);
|
||||
|
Loading…
Reference in New Issue
Block a user