Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
This commit is contained in:
parent
bb94053960
commit
4fc8fe8023
3 changed files with 45 additions and 1 deletions
|
@ -1415,7 +1415,7 @@ void mainDraw(int16 param) {
|
|||
gfxModuleData_gfxCopyScreen(bgPtr, gfxModuleData.pPage10);
|
||||
if (backgroundChanged[masterScreen]) {
|
||||
backgroundChanged[masterScreen] = false;
|
||||
gfxModuleData_addDirtyRect(Common::Rect(0, 0, 320, 200));
|
||||
switchBackground(bgPtr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue