chore: update global workflows (#3113)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
LizardByte-bot 2024-08-31 13:45:57 -04:00 committed by GitHub
commit 0f40a092de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 249 additions and 281 deletions

View file

@ -19,7 +19,7 @@ extern "C" {
// They aren't likely to change any time soon.
#define fourcc_code(a, b, c, d) ((std::uint32_t)(a) | ((std::uint32_t)(b) << 8) | \
((std::uint32_t)(c) << 16) | ((std::uint32_t)(d) << 24))
#define fourcc_mod_code(vendor, val) ((((uint64_t) vendor) << 56) | ((val) &0x00ffffffffffffffULL))
#define fourcc_mod_code(vendor, val) ((((uint64_t) vendor) << 56) | ((val) & 0x00ffffffffffffffULL))
#define DRM_FORMAT_MOD_INVALID fourcc_mod_code(0, ((1ULL << 56) - 1))
#if !defined(SUNSHINE_SHADERS_DIR) // for testing this needs to be defined in cmake as we don't do an install

View file

@ -618,8 +618,7 @@ namespace platf {
}
~shm_attr_t() override {
while (!task_pool.cancel(refresh_task_id))
;
while (!task_pool.cancel(refresh_task_id));
}
capture_e