mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-27 08:12:33 +00:00
Clamp render targets to 512x512 psp pixels.
This commit is contained in:
parent
72a73b5965
commit
63463f7959
@ -282,6 +282,10 @@ void GuessDrawingSize(int &drawing_width, int &drawing_height) {
|
||||
drawing_width = gstate.getScissorX2() + 1;
|
||||
if (drawing_height > gstate.getScissorY2() + 1)
|
||||
drawing_height = gstate.getScissorY2() + 1;*/
|
||||
|
||||
// Cap at maximum texture size for now. Don't see much point in drawing bigger.
|
||||
drawing_width = std::min(drawing_width, 512);
|
||||
drawing_height = std::min(drawing_height, 512);
|
||||
}
|
||||
|
||||
void FramebufferManager::SetRenderFrameBuffer() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user