1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Merge branch 'master' of github.com:TomHarte/CLK

This commit is contained in:
Thomas Harte 2015-07-29 23:49:10 -04:00
commit 0124832876

View File

@ -428,9 +428,9 @@ void CRTFrameBuilder::allocate_write_area(int required_length)
frame.dirty_size.height++;
}
_write_target_pointer = (_write_y_position * frame.size.width) + _write_x_position;
_write_x_position = _next_write_x_position;
_write_y_position = _next_write_y_position;
_write_target_pointer = (_write_y_position * frame.size.width) + _write_x_position;
_next_write_x_position += required_length;
frame.dirty_size.width = std::max(frame.dirty_size.width, _next_write_x_position);
}