git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bef399
)
added missing 20 factor texture matrix calculation
author
kramm
<kramm>
Sun, 21 Jan 2007 21:20:52 +0000
(21:20 +0000)
committer
kramm
<kramm>
Sun, 21 Jan 2007 21:20:52 +0000
(21:20 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
b46d369
..
9e08623
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-1152,6
+1152,11
@@
void s_texture(char*name, char*object, int x, int y, float scalex, float scaley,
fs->m.tx += p2.x;
fs->m.ty += p2.y;
}
+ if(bitmap) {
+ fs->m.sx *= 20;
+ fs->m.sy *= 20;
+ }
+
if(dictionary_lookup(&textures, name))
syntaxerror("texture %s defined twice", name);