Fix linux clang build errors (#879)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Mathias Tillman
2023-03-09 00:05:38 +01:00
committed by GitHub
parent 8f1465d950
commit c3f3e1606d
2 changed files with 25 additions and 19 deletions

View File

@@ -71,7 +71,7 @@ public:
void cancel(
zwlr_export_dmabuf_frame_v1 *frame,
zwlr_export_dmabuf_frame_v1_cancel_reason reason);
std::uint32_t reason);
inline frame_t *get_next_frame() {
return current_frame == &frames[0] ? &frames[1] : &frames[0];