|
group2 0.1.0
CSE 125 Group 2
|
Implementation of loadGraphicsConfig(). More...
Functions | |
| GraphicsConfig | loadGraphicsConfig (const char *path) |
| const char * | gpuBackendHintString (GpuBackend backend) |
| Map GpuBackend to the string SDL expects in SDL_HINT_GPU_DRIVER. | |
Implementation of loadGraphicsConfig().
|
nodiscard |
Map GpuBackend to the string SDL expects in SDL_HINT_GPU_DRIVER.
Returns nullptr for GpuBackend::Auto (do not set the hint).
|
nodiscard |