瀏覽代碼

bb

pull/5008/head
Shane Smiskol 2 週之前
父節點
當前提交
a78f25d554
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/platforms/rcore_comma.c

+ 1
- 1
src/platforms/rcore_comma.c 查看文件

@ -212,7 +212,7 @@ static int init_wayland(int width, int height) {
platform.wayland.wl_surface = wl_compositor_create_surface(platform.wayland.wl_compositor);
// 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);
wl_shell_surface_add_listener(platform.wayland.wl_shell_surface, &wl_shell_surface_listener, NULL);

Loading…
取消
儲存