OSDN Git Service
(root)
/
flapp
/
flapp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4f41a
)
引数を間違えていたので変更 (code でなく hasAlpha が渡されてくる)
author
Yoshihiro Yamazaki
<yoya@awm.jp>
Mon, 10 Dec 2012 17:20:12 +0000
(
02:20
+0900)
committer
Yoshihiro Yamazaki
<yoya@awm.jp>
Mon, 10 Dec 2012 17:20:12 +0000
(
02:20
+0900)
src/swf/gradient.js
patch
|
blob
|
history
diff --git
a/src/swf/gradient.js
b/src/swf/gradient.js
index
a36484b
..
7fb0454
100644
(file)
--- a/
src/swf/gradient.js
+++ b/
src/swf/gradient.js
@@
-10,8
+10,7
@@
FlappSWFGradient = function(ibit) {
;
};
-FlappSWFGradient.load = function(code, ibit) {
- var hasAlpha = (code>=32);
+FlappSWFGradient.load = function(ibit, hasAlpha) {
ibit.a();
var spread = ibit.ub(2);
var interpolation = ibit.ub(2);