thatcosmonaut / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
1 stars 1 forks source link

Swapchain/Compute/Colorspace Revisions #27

Closed thatcosmonaut closed 1 month ago

thatcosmonaut commented 1 month ago

Instead of exposing color space, we now have a SDL_GpuSwapchainComposition enum that indicates what kind of texture format and color space should be requested for the swapchain.

There is also a new function, SDL_GpuSupportsSwapchainComposition that can be queried without having to fail claiming a window.

strangezakary commented 1 month ago

Looks good to me 👍