File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/gfx.cpp
Show inline comments
 
@@ -83,15 +83,13 @@ void GfxScroll(int left, int top, int wi
 
	Blitter *blitter = BlitterFactory::GetCurrentBlitter();
 

	
 
	if (xo == 0 && yo == 0) return;
 

	
 
	if (_cursor.visible) UndrawMouseCursor();
 

	
 
#ifdef ENABLE_NETWORK
 
	if (_networking) NetworkUndrawChatMessage();
 
#endif /* ENABLE_NETWORK */
 

	
 
	blitter->ScrollBuffer(_screen.dst_ptr, left, top, width, height, xo, yo);
 
	/* This part of the screen is now dirty. */
 
	VideoDriver::GetInstance()->MakeDirty(left, top, width, height);
 
}
 

	
 
@@ -1285,15 +1283,13 @@ void RedrawScreenRect(int left, int top,
 
				bottom > _cursor.draw_pos.y &&
 
				top < _cursor.draw_pos.y + _cursor.draw_size.y) {
 
			UndrawMouseCursor();
 
		}
 
	}
 

	
 
#ifdef ENABLE_NETWORK
 
	if (_networking) NetworkUndrawChatMessage();
 
#endif /* ENABLE_NETWORK */
 

	
 
	DrawOverlappedWindowForAll(left, top, right, bottom);
 

	
 
	VideoDriver::GetInstance()->MakeDirty(left, top, right - left, bottom - top);
 
}