rev
This commit is contained in:
parent
a78f25d554
commit
5b6b68296b
|
|
@ -212,7 +212,7 @@ static int init_wayland(int width, int height) {
|
||||||
platform.wayland.wl_surface = wl_compositor_create_surface(platform.wayland.wl_compositor);
|
platform.wayland.wl_surface = wl_compositor_create_surface(platform.wayland.wl_compositor);
|
||||||
|
|
||||||
// apply rotation transform to the buffer of the surface
|
// apply rotation transform to the buffer of the surface
|
||||||
// wl_surface_set_buffer_transform(platform.wayland.wl_surface, WL_OUTPUT_TRANSFORM_270);
|
wl_surface_set_buffer_transform(platform.wayland.wl_surface, WL_OUTPUT_TRANSFORM_270);
|
||||||
|
|
||||||
platform.wayland.wl_shell_surface = wl_shell_get_shell_surface(platform.wayland.wl_shell, platform.wayland.wl_surface);
|
platform.wayland.wl_shell_surface = wl_shell_get_shell_surface(platform.wayland.wl_shell, platform.wayland.wl_surface);
|
||||||
wl_shell_surface_add_listener(platform.wayland.wl_shell_surface, &wl_shell_surface_listener, NULL);
|
wl_shell_surface_add_listener(platform.wayland.wl_shell_surface, &wl_shell_surface_listener, NULL);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user