tiehuis / faststack

If you want to stack blocks kind of quick
https://tiehuis.github.io/faststack/
GNU General Public License v3.0
11 stars 1 forks source link

Fix SDL2 rendering code offsets to avoid lines #50

Closed tiehuis closed 7 years ago

tiehuis commented 8 years ago

Due to the way offsets are calculated on various screen sizes we can get ugly lines where nothing at all is rendered. This is as a result of rounding issues and we need a normalization step somewhere to stretch this regardless of the actual size given.