X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fpolyfill.c;h=1393cd200fc0b1b1906f51236cf229adb966d344;hb=cbda3c45c9f5d000c06fb36399778189c245dc4b;hp=e94de2f9c7b4b46855f957e39e3c90447ecd1900;hpb=9e546fcbdc870e396abeb6eaacaa7bc4054a61f0;p=dosdemo diff --git a/src/polyfill.c b/src/polyfill.c index e94de2f..1393cd2 100644 --- a/src/polyfill.c +++ b/src/polyfill.c @@ -2,7 +2,7 @@ #include #include #include -#if defined(__WATCOMC__) || defined(_MSC_VER) +#if defined(__WATCOMC__) || defined(_MSC_VER) || defined(__DJGPP__) #include #else #include @@ -67,7 +67,7 @@ void polyfill_wire(struct pvertex *verts, int nverts) * but produces some slight quantization artifacts, due to the limited precision * of fixed-point calculations. */ -#undef HIGH_QUALITY +#define HIGH_QUALITY /* extra bits of precision to use when interpolating colors. * try tweaking this if you notice strange quantization artifacts.