mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
SDL GPU: Implemented opt out Vulkan device features (#13016)
This commit is contained in:
parent
1eeffc5933
commit
f85f83ec7c
6 changed files with 71 additions and 36 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue