aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-11 20:10:47 +0000
committerJames Brown2002-04-11 20:10:47 +0000
commit6e508eed2962fc29f16a4507d056a3c3483c3e6a (patch)
tree3cda95b932adcfbe3c7130a8b94dbb09c7d3fc43 /sdl.cpp
parent7696081c54a6cac8152a227bd9d0bcc41999f261 (diff)
downloadscummvm-rg350-6e508eed2962fc29f16a4507d056a3c3483c3e6a.tar.gz
scummvm-rg350-6e508eed2962fc29f16a4507d056a3c3483c3e6a.tar.bz2
scummvm-rg350-6e508eed2962fc29f16a4507d056a3c3483c3e6a.zip
Fix anti-aliasing crash and a Zak crash. Note there are still AA
artifacts left on screen. Anyone want to fix this? :) svn-id: r3909
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 429a1710c2..fe4ee9fe94 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -485,7 +485,7 @@ void updateScreen2xSaI(Scumm *s)
SDL_Rect *dr;
int i;
- for (i = 0; i <= numDirtyRects; i++) {
+ for (i = 0; i < numDirtyRects; i++) {
dr = &dirtyRects[i];
Draw2xSaI(dr, s->_videoMode);
}