diff options
-rw-r--r-- | engines/agi/graphics.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 361eff245e..6dfb00825f 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -439,10 +439,7 @@ void gfx_putblock(int x1, int y1, int x2, int y2) { if (y2 >= GFX_HEIGHT) y2 = GFX_HEIGHT - 1; - // force full update until fix wrong partial updates - g_system->copyRectToScreen(screen, 320, 0, 0, 320, 200); - //g_system->copyRectToScreen(screen, 320, x1, y1, x2 - x1 + 1, y2 - y1 + 1); - //g_system->updateScreen(); + g_system->copyRectToScreen(screen + y1 * 320 + x1, 320, x1, y1, x2 - x1 + 1, y2 - y1 + 1); } static const byte mouseCursorArrow[] = { |