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=62692fac7407d5acdac8ec7dddb12a2d65e4aea0;hp=167d5e1381105d50145d0109695963cf7c382cb8;hb=390d3d37953897e5bd64fe7f1fe88e6a94c7e5dc;hpb=dfc6ebacd7bcc1e6b9e7168c3e4824d241d2d5c8 diff --git a/src/3dgfx/polytmpl.h b/src/3dgfx/polytmpl.h index 167d5e1..62692fa 100644 --- a/src/3dgfx/polytmpl.h +++ b/src/3dgfx/polytmpl.h @@ -101,7 +101,8 @@ void POLYFILL(struct pvertex *pv, int nverts) #if defined(GOURAUD) || defined(TEXMAP) || defined(ZBUF) int mid; int32_t dx, tmp; -#else +#endif +#if !defined(GOURAUD) && !defined(TEXMAP) /* flat version, just pack the color now */ color = G3D_PACK_RGB(pv[0].r, pv[0].g, pv[0].b); #endif