Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix bug that skipped a face after every rectangle
  • Loading branch information
petterarvidsson committed Jan 8, 2018
commit f21d80e11b82efddddd48859d7d8ea730b51e013
2 changes: 1 addition & 1 deletion libchunkrender/chunkrender.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void generate_rectangles(uint8_t face,
}
}

a += (width + 1);
a += width;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

} else {
a++;
}
Expand Down