projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6619d38
)
Fix matrix setup in surface_map()
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 8 Jun 2010 14:44:38 +0000
(10:44 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 8 Jun 2010 14:44:38 +0000
(10:44 -0400)
compositor.c
patch
|
blob
|
history
diff --git
a/compositor.c
b/compositor.c
index
9ca06b0
..
5af0a15
100644
(file)
--- a/
compositor.c
+++ b/
compositor.c
@@
-691,8
+691,9
@@
surface_map(struct wl_client *client,
{
struct wlsc_surface *es = (struct wlsc_surface *) surface;
- wlsc_matrix_
translate(&es->matrix, x, y, 0
);
+ wlsc_matrix_
init(&es->matrix
);
wlsc_matrix_scale(&es->matrix, width, height, 1);
+ wlsc_matrix_translate(&es->matrix, x, y, 0);
}
static void