src/gfx.cpp
changeset 7927 3a3289a049f9
parent 7824 5a63d41b59ea
child 7928 63e18de69e50
equal deleted inserted replaced
7926:01d19beae592 7927:3a3289a049f9
  1013  * @see SetDirtyBlocks
  1013  * @see SetDirtyBlocks
  1014  */
  1014  */
  1015 void DrawDirtyBlocks()
  1015 void DrawDirtyBlocks()
  1016 {
  1016 {
  1017 	byte *b = _dirty_blocks;
  1017 	byte *b = _dirty_blocks;
  1018 	const int w = ALIGN(_screen.width, 64);
  1018 	const int w = Align(_screen.width, 64);
  1019 	const int h = ALIGN(_screen.height, 8);
  1019 	const int h = Align(_screen.height, 8);
  1020 	int x;
  1020 	int x;
  1021 	int y;
  1021 	int y;
  1022 
  1022 
  1023 	if (IsGeneratingWorld() && !IsGeneratingWorldReadyForPaint()) return;
  1023 	if (IsGeneratingWorld() && !IsGeneratingWorldReadyForPaint()) return;
  1024 
  1024