ref: d9311af14458bc732cc9dfa992428fbcbb73f490
parent: b41192ebe4f5f0720cf7e4dc5ca1f6fc0131daf1
author: rodri <rgl@antares-labs.eu>
date: Thu Apr 18 05:30:42 EDT 2024
render: make sure the last tile fills the screen.
--- a/render.c
+++ b/render.c
@@ -449,6 +449,8 @@
wr[0].max.y = wr[0].min.y + Δy;
for(i = 1; i < nproc; i++)
wr[i] = rectaddpt(wr[i-1], Pt(0,Δy));
+ if(wr[nproc-1].max.y < params->fb->r.max.y)
+ wr[nproc-1].max.y = params->fb->r.max.y;
verts = params->entity->mdl->obj->vertdata[OBJVGeometric].verts;
tverts = params->entity->mdl->obj->vertdata[OBJVTexture].verts;