mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-26 01:40:18 -05:00
opt: remove useless code
This commit is contained in:
parent
c344dfe7a2
commit
bc5cf2c7d7
1 changed files with 1 additions and 5 deletions
|
|
@ -4616,11 +4616,7 @@ void rendermon(struct wl_listener *listener, void *data) {
|
|||
skip:
|
||||
// 发送帧完成通知
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
if (allow_tearing && frame_allow_tearing) {
|
||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||
} else {
|
||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||
}
|
||||
wlr_scene_output_send_frame_done(m->scene_output, &now);
|
||||
|
||||
// 如果需要更多帧,确保安排下一帧
|
||||
if (need_more_frames && allow_frame_scheduling) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue