]> git.sesse.net Git - nageru/blobdiff - mixer.h
Make quitting a tad bit more robust.
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 9b631e4766071d35e6f0d215cd3f4442f46cdf2e..3275b24a85c66c1529086e4df23b48d0ba29d89b 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -114,6 +114,7 @@ private:
                QOpenGLContext *context;
 
                bool new_data_ready = false;  // Whether new_frame and new_frame_audio contains anything.
+               bool should_quit = false;
                RefCountedFrame new_frame;
                GLsync new_data_ready_fence;  // Whether new_frame is ready for rendering.
                std::vector<float> new_frame_audio;