Sam Lantinga
Sam Lantinga
@icculus, this is all fixed up! Okay to squash and merge?
> The following good for sdl2-compat? (Other SDL3 changes may need additional compat-side changes which I didn't look.) Yep, that looks good.
Unexpected `SDL_BLENDMODE` differences in `SDL_CreateTextureFromSurface()` and `SDL_CreateTexture()`
Fixed, thanks!
https://github.com/libsdl-org/SDL/pull/9753 might help here, @kurac338, can you see if that works for you?
No response, I'll go ahead and close this. Please let us know if this is still an issue in SDL 3.
@danginsburg, can you check this? `SDL_PIXELFORMAT_XRGB8888` should be handled like ARGB8888 but blending operations treat the alpha channel as opaque.
> As an aside, it would be nice to support some of the 16-bit packed formats like `VK_FORMAT_R4G4B4A4_UNORM_PACK16`, but since none of them have SRGB variants I'm not sure how...
By the way, we're not trying to stuff in all the formats that _can_ be supported, we're trying to include the common formats that are fast for current drivers. If...
@ccawley2011, can you update this PR to check `vkGetPhysicalDeviceFormatProperties` for the appropriate formats?
They can. I've actually been moving the other way, since in SDL2 we had a mix of declarations split to 80 columns and all on a single line. Whichever way...