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
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;