mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert "GPU: Download CLUTs when loading at 256 stride."
This reverts commit dc03050730
.
This commit is contained in:
parent
d9c9b1bf31
commit
d8db8ecfcc
1 changed files with 0 additions and 5 deletions
|
@ -2083,11 +2083,6 @@ void FramebufferManagerCommon::DownloadFramebufferForClut(u32 fb_address, u32 lo
|
|||
int w = std::min(pixels % vfb->fb_stride, (int)vfb->width);
|
||||
int h = std::min((pixels + vfb->fb_stride - 1) / vfb->fb_stride, (int)vfb->height);
|
||||
|
||||
if (w == 0 && h > 0) {
|
||||
// Exactly aligned (means pixels == vfb->fb_stride, so modulus gave zero.)
|
||||
w = std::min(vfb->fb_stride, (int)vfb->width);
|
||||
}
|
||||
|
||||
// We might still have a pending draw to the fb in question, flush if so.
|
||||
FlushBeforeCopy();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue