aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-10-05 14:41:30 +0000
committerMax Horn2003-10-05 14:41:30 +0000
commit16e489753174c27a5d38cde52922b920bd215e42 (patch)
treeeb792a7c7af2f93262df680b48cefd764891402b
parentb4e5d97994a5827350e030429caea364514dadda (diff)
downloadscummvm-rg350-16e489753174c27a5d38cde52922b920bd215e42.tar.gz
scummvm-rg350-16e489753174c27a5d38cde52922b920bd215e42.tar.bz2
scummvm-rg350-16e489753174c27a5d38cde52922b920bd215e42.zip
cleanup
svn-id: r10612
-rw-r--r--backends/sdl/sdl-common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 9c60626be7..482e2ca8c7 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -136,8 +136,6 @@ protected:
int _tmpScreenWidth;
bool _overlayVisible;
- bool _adjustAspectRatio;
-
// CD Audio
SDL_CD *_cdrom;
int cd_track, cd_num_loops, cd_start_frame, cd_duration;
@@ -155,6 +153,9 @@ protected:
uint32 _mode_flags;
bool _modeChanged;
+ /** True if aspect ratio correction is enabled. */
+ bool _adjustAspectRatio;
+
enum {
NUM_DIRTY_RECT = 100,
@@ -164,7 +165,7 @@ protected:
};
// Dirty rect managment
- SDL_Rect _dirty_rect_list[100];
+ SDL_Rect _dirty_rect_list[NUM_DIRTY_RECT];
int _num_dirty_rects;
uint32 *_dirty_checksums;
bool cksum_valid;