mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
This seems to be better
This commit is contained in:
1 parent
fe15d88cd8
commit
8af2e66bd5
1 file changed
+6
-1
@@ -667,7 +667,12 @@ void FramebufferManager::SetRenderFrameBuffer() {
|
||||
vfb = v;
|
||||
// Update fb stride in case it changed
|
||||
vfb->fb_stride = fb_stride;
|
||||
if (v->format != fmt || (v->width < drawing_width && v->height < drawing_height)) {
|
||||
vfb->fb_stride = fb_stride;
|
||||
if (v->width < drawing_width && v->height < drawing_height) {
|
||||
v->width = drawing_width;
|
||||
v->height = drawing_height;
|
||||
}
|
||||
if (v->format != fmt) {
|
||||
v->width = drawing_width;
|
||||
v->height = drawing_height;
|
||||
v->format = fmt;
|
||||
|
||||
Reference in new issue
Block a user