X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2F3dgfx%2Fpolytmpl.h;fp=src%2F3dgfx%2Fpolytmpl.h;h=167d5e1381105d50145d0109695963cf7c382cb8;hp=01bbd01f4a6c71c3fc7eddeb9d084375049c0dca;hb=7705fa326336feba1a66d5a6ca8a7c27771e4c5f;hpb=650644eccabcdceb974c17d5fd19c0546eb753d3 diff --git a/src/3dgfx/polytmpl.h b/src/3dgfx/polytmpl.h index 01bbd01..167d5e1 100644 --- a/src/3dgfx/polytmpl.h +++ b/src/3dgfx/polytmpl.h @@ -13,7 +13,7 @@ static uint32_t SCANEDGE(struct pvertex *v0, struct pvertex *v1, struct pvertex int32_t u, v, du, dv, uslope, vslope; #endif #ifdef ZBUF - int z, dz, zslope; + int32_t z, dz, zslope; #endif int32_t start_idx, end_idx; @@ -115,7 +115,7 @@ void POLYFILL(struct pvertex *pv, int nverts) int32_t u, v, du, dv, uslope, vslope; #endif #ifdef ZBUF - int z, dz, zslope; + int32_t z, dz, zslope; #endif for(i=1; i