SDL GPU: Implemented opt out Vulkan device features (#13016)

This commit is contained in:
Manuel 2025-05-14 03:28:28 +03:00 committed by GitHub
parent 1eeffc5933
commit f85f83ec7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 71 additions and 36 deletions

View file

@ -1142,7 +1142,7 @@ typedef struct SDL_GPUBootstrap
{
const char *name;
const SDL_GPUShaderFormat shader_formats;
bool (*PrepareDriver)(SDL_VideoDevice *_this);
bool (*PrepareDriver)(SDL_VideoDevice *_this, SDL_PropertiesID props);
SDL_GPUDevice *(*CreateDevice)(bool debug_mode, bool prefer_low_power, SDL_PropertiesID props);
} SDL_GPUBootstrap;