1
0
Fork 0

(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to

release/0.7
smatz 2008-06-18 20:20:12 +00:00
parent 29985b768c
commit bc12e5453c
1 changed files with 1 additions and 2 deletions

View File

@ -292,7 +292,6 @@ int Blitter_32bppAnim::BufferSize(int width, int height)
void Blitter_32bppAnim::PaletteAnimate(uint start, uint count) void Blitter_32bppAnim::PaletteAnimate(uint start, uint count)
{ {
assert(!_screen_disable_anim); assert(!_screen_disable_anim);
assert(_screen.width == this->anim_buf_width && _screen.height == this->anim_buf_height);
/* Never repaint the transparency pixel */ /* Never repaint the transparency pixel */
if (start == 0) { if (start == 0) {
@ -314,7 +313,7 @@ void Blitter_32bppAnim::PaletteAnimate(uint start, uint count)
dst++; dst++;
anim++; anim++;
} }
dst += _screen.pitch - _screen.width; dst += _screen.pitch - this->anim_buf_width;
} }
/* Make sure the backend redraws the whole screen */ /* Make sure the backend redraws the whole screen */