git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed build
[swftools.git]
/
lib
/
devices
/
ops.c
diff --git
a/lib/devices/ops.c
b/lib/devices/ops.c
index
7b5f1c7
..
bda4742
100644
(file)
--- a/
lib/devices/ops.c
+++ b/
lib/devices/ops.c
@@
-66,7
+66,7
@@
inline gfxcolor_t transform_color(internal_t*i, gfxcolor_t*col)
col2.r = col->r;
col2.g = col->g;
col2.b = col->b;
- col2.a = (col->a * i->alpha)>>8;
+ col2.a = (col->a * i->alpha)/255;
return col2;
}