screencopy: Remove dead code

master
Alexander Orzechowski 9 months ago
parent b7d003caef
commit 3224fe6a51

@ -231,7 +231,6 @@ static bool frame_dma_copy(struct wlr_screencopy_frame_v1 *frame,
struct wlr_renderer *renderer = output->renderer;
assert(renderer);
struct wlr_texture *src_tex =
wlr_texture_from_buffer(renderer, src_buffer);
if (src_tex == NULL) {
@ -274,8 +273,6 @@ static void frame_handle_output_commit(struct wl_listener *listener,
wl_container_of(listener, frame, output_commit);
struct wlr_output_event_commit *event = data;
struct wlr_output *output = frame->output;
struct wlr_renderer *renderer = output->renderer;
assert(renderer);
if (!(event->state->committed & WLR_OUTPUT_STATE_BUFFER)) {
return;

Loading…
Cancel
Save