gpu: alpha-to-coverage support

This commit is contained in:
Caleb Cornett authored and Sam Lantinga committed 2025-04-04 11:39:08 -07:00
1 parent d6d2c958a4
commit 44710a248c
6 files changed
+75 -3

No files matched your search

+1 -1
View File
@@ -1767,7 +1767,7 @@ typedef struct SDL_GPUMultisampleState
SDL_GPUSampleCount sample_count; /**< The number of samples to be used in rasterization. */
Uint32 sample_mask; /**< Reserved for future use. Must be set to 0. */
bool enable_mask; /**< Reserved for future use. Must be set to false. */
Uint8 padding1;
bool enable_alpha_to_coverage; /**< true enables the alpha-to-coverage feature. */
Uint8 padding2;
Uint8 padding3;
} SDL_GPUMultisampleState;