gles2/pass: remove duplicate variable declarations

master
YaoBing Xiao 4 months ago
parent 0d6284eb62
commit 0db4df4c8e

@ -52,7 +52,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
goto out;
}
bool ok = wlr_drm_syncobj_timeline_import_sync_file(pass->signal_timeline, pass->signal_point, sync_file_fd);
ok = wlr_drm_syncobj_timeline_import_sync_file(pass->signal_timeline, pass->signal_point, sync_file_fd);
close(sync_file_fd);
if (!ok) {
goto out;

Loading…
Cancel
Save