mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix flicker caused by using the wrong fbo.
This commit is contained in:
parent
6ca6fdd02a
commit
81225e0f09
@ -332,8 +332,8 @@ void GLES_GPU::DecimateFBOs() {
|
||||
|
||||
GLES_GPU::VirtualFramebuffer *GLES_GPU::GetDisplayFBO() {
|
||||
for (auto iter = vfbs_.begin(); iter != vfbs_.end(); ++iter) {
|
||||
if (MaskedEqual((*iter)->fb_address, displayFramebufPtr_)) {
|
||||
// Could check w to but whatever
|
||||
if (MaskedEqual((*iter)->fb_address, displayFramebufPtr_) && (*iter)->format == displayFormat_) {
|
||||
// Could check w too but whatever
|
||||
return *iter;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user