mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Fix matrix setup in surface_map()
This commit is contained in:
parent
6619d38311
commit
2cdc18452e
1 changed files with 2 additions and 1 deletions
|
|
@ -691,8 +691,9 @@ surface_map(struct wl_client *client,
|
||||||
{
|
{
|
||||||
struct wlsc_surface *es = (struct wlsc_surface *) surface;
|
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_scale(&es->matrix, width, height, 1);
|
||||||
|
wlsc_matrix_translate(&es->matrix, x, y, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue