Comment out early stop in renderer reset as it results in broken renderings.

This commit is contained in:
Sascha L. Teichmann 2017-02-27 20:47:23 +01:00
parent 58d930e1d2
commit eed91e7148

View File

@ -148,9 +148,13 @@ func (r *Renderer) SetPos(xOfs, zOfs int16) {
func (r *Renderer) Reset() { func (r *Renderer) Reset() {
/* TODO: Figure out why this early stop results
in broken renderings.
if r.IsEmpty() { if r.IsEmpty() {
return return
} }
*/
yb := r.yBuffer yb := r.yBuffer
yb = yb[:len(yb)] yb = yb[:len(yb)]