mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-23 01:59:49 +01:00
Remove TODO from wlr_sreencast.c
This commit is contained in:
parent
a8d12c6163
commit
5ea10ef253
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ static void wlr_frame_buffer_destroy(struct xdpw_screencast_instance *cast) {
|
|||
void xdpw_wlr_frame_free(struct xdpw_screencast_instance *cast) {
|
||||
zwlr_screencopy_frame_v1_destroy(cast->wlr_frame);
|
||||
cast->wlr_frame = NULL;
|
||||
// TODO: reuse this buffer unless we quit or error out
|
||||
if (cast->quit || cast->err) {
|
||||
wlr_frame_buffer_destroy(cast);
|
||||
logprint(TRACE, "xdpw: simple_frame buffer destroyed");
|
||||
|
|
Loading…
Reference in a new issue