git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for files with incomplete DCT data
[swftools.git]
/
lib
/
gfxpoly
/
wind.h
diff --git
a/lib/gfxpoly/wind.h
b/lib/gfxpoly/wind.h
index
374b974
..
a07ed64
100644
(file)
--- a/
lib/gfxpoly/wind.h
+++ b/
lib/gfxpoly/wind.h
@@
-7,6
+7,8
@@
the the (original) segment's y2 is larger than its y1 */
typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t;
+#define DIR_INVERT(d) ((d)^(DIR_UP^DIR_DOWN))
+
typedef struct _edgestyle {
void*internal;
} edgestyle_t;