Skip to content

Commit

Permalink
pano_gl: Recycle frames when returning to free queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiatka committed Jan 17, 2024
1 parent 0586458 commit c8d16f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video_display/pano_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ static void handle_user_event(state_vr *s, SDL_Event *event){
s->scene.put_frame(frame);

lk.lock();
vf_recycle(frame);
s->free_frame_queue.push(frame);
lk.unlock();
} else {
Expand Down

0 comments on commit c8d16f2

Please sign in to comment.