projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug introduced by the last bugfix
[dosdemo]
/
src
/
polyfill.c
diff --git
a/src/polyfill.c
b/src/polyfill.c
index
e94de2f
..
1393cd2
100644
(file)
--- a/
src/polyfill.c
+++ b/
src/polyfill.c
@@
-2,7
+2,7
@@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#if defined(__WATCOMC__) || defined(_MSC_VER)
+#if defined(__WATCOMC__) || defined(_MSC_VER) || defined(__DJGPP__)
#include <malloc.h>
#else
#include <alloca.h>
#include <malloc.h>
#else
#include <alloca.h>
@@
-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.
*/
* 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.
/* extra bits of precision to use when interpolating colors.
* try tweaking this if you notice strange quantization artifacts.