public void SetDirtyRange(int top, int bottom) { for (int i = 0; i < tdirty.Length; i++) { tdirty[i] = top; bdirty[i] = bottom; } }