Remove TODO from wlr_sreencast.c

This commit is contained in:
columbarius 2020-08-18 00:57:55 +02:00 committed by Simon Ser
parent a8d12c6163
commit 5ea10ef253
1 changed files with 0 additions and 1 deletions

View File

@ -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");