forked from enlightenment/efl
and fix final off-by-a-bit in the xform.
SVN revision: 26966
This commit is contained in:
parent
b24c5e70da
commit
d75744200c
|
@ -326,8 +326,8 @@ set_xtransform_scale(XTransform *t, int sw, int sh, int w, int h, int tx, int ty
|
|||
// { sh--; h--; }
|
||||
t->matrix[0][0] = XDoubleToFixed((double)(sw) / (double)(w));
|
||||
t->matrix[1][1] = XDoubleToFixed((double)(sh) / (double)(h));
|
||||
t->matrix[2][0] = tx;
|
||||
t->matrix[2][1] = ty;
|
||||
t->matrix[2][0] = (tx * sw) / w;
|
||||
t->matrix[2][1] = (ty * sh) / h;
|
||||
}
|
||||
|
||||
// when color multiplier is used want: instead
|
||||
|
|
Loading…
Reference in New Issue