diff options
author | glx <glx@openttd.org> | 2007-08-03 02:21:10 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-08-03 02:21:10 +0000 |
commit | f95df6bb61f8e04bf146a8ebcd051b7e19820a82 (patch) | |
tree | 1b33ca8cec527f91fe453f6d8ac5dd3f0c8fe798 /src/video | |
parent | fcc1ccb99b5a6f013ed7fcfadf553c73d93a9375 (diff) | |
download | openttd-f95df6bb61f8e04bf146a8ebcd051b7e19820a82.tar.xz |
(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/win32_v.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 0164fe595..46c6cc851 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -149,7 +149,7 @@ static void ClientSizeChanged(int w, int h) if (AllocateDibSection(w, h)) { // mark all palette colors dirty _pal_first_dirty = 0; - _pal_count_dirty = 255; + _pal_count_dirty = 256; GameSizeChanged(); // redraw screen |