mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-05 03:27:36 +00:00
Move the per-frame handoff and the GL fence wait into functions that take their GL and CUDA calls as parameters, and test them with fakes: the order of GL and CUDA work with two and three planes, every failing step, and every GL wait status. The mapped path now unmaps the textures when getting a mapped array fails, instead of returning with them still mapped.