X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.h;h=af976985c91b3a52e442debb6e19e1c89c0e41ca;hb=00ea527bd5605717ea8f353058bc72fa2c2aac08;hp=2b006822ee14d4fd1393a1ffc7e1dafcf030027a;hpb=ea58f9b85acaacdcaf9fc6ddc9ec3b8a0ea37a12;p=nageru diff --git a/mixer.h b/mixer.h index 2b00682..af97698 100644 --- a/mixer.h +++ b/mixer.h @@ -388,7 +388,7 @@ private: int64_t length; // In TIMEBASE units. bool interlaced; unsigned field; // Which field (0 or 1) of the frame to use. Always 0 for progressive. - GLsync ready_fence; // Whether frame is ready for rendering. + RefCountedGLsync ready_fence; // Whether frame is ready for rendering. unsigned dropped_frames = 0; // Number of dropped frames before this one. }; std::queue new_frames;