mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
screencopy: Remove dead code
This commit is contained in:
parent
b7d003caef
commit
3224fe6a51
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue