mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
added cliping for actor in akos16
svn-id: r5206
This commit is contained in:
parent
67c00eb7e6
commit
8a0d3438fc
@ -1405,13 +1405,13 @@ void AkosRenderer::codec16() {
|
||||
|
||||
_vm->updateDirtyRect(0, clip_left, clip_right + 1, clip_top, clip_bottom + 1, 1 << dirty_id);
|
||||
|
||||
// if(clip_top < Actor.top) {
|
||||
// Actor.top = clip_top;
|
||||
// }
|
||||
if(clip_top < draw_top) {
|
||||
draw_top = clip_top;
|
||||
}
|
||||
|
||||
// if(clip_bottom > Actor.bottom) {
|
||||
// Actor.bottom = clip_bottom + 1;
|
||||
// }
|
||||
if(clip_bottom > draw_bottom) {
|
||||
draw_bottom = clip_bottom + 1;
|
||||
}
|
||||
|
||||
int32 width_unk, height_unk;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user