mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-05 11:38:06 +00:00
EXT_external_objects requires an image that aliases a GL texture to have the mutable format bit and every usage its format supports. Put the allocation behind a driver interface, so tests can run init, allocate, reset and the fallback to mapped planes without a GPU. Drain GL errors before the imports, so a stale error can't make a successful import look failed and close a descriptor that GL now owns.