mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Added SDL_HINT_RENDER_DIRECT3D11_WARP
Fixes https://github.com/libsdl-org/SDL/issues/13002
This commit is contained in:
@@ -2964,6 +2964,23 @@ extern "C" {
|
||||
*/
|
||||
#define SDL_HINT_RENDER_DIRECT3D11_DEBUG "SDL_RENDER_DIRECT3D11_DEBUG"
|
||||
|
||||
/**
|
||||
* A variable controlling whether to use the Direct3D 11 WARP software rasterizer.
|
||||
*
|
||||
* For more information, see:
|
||||
* https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Disable WARP rasterizer. (default)
|
||||
* - "1": Enable WARP rasterizer.
|
||||
*
|
||||
* This hint should be set before creating a renderer.
|
||||
*
|
||||
* \since This hint is available since SDL 3.4.0.
|
||||
*/
|
||||
#define SDL_HINT_RENDER_DIRECT3D11_WARP "SDL_RENDER_DIRECT3D11_WARP"
|
||||
|
||||
/**
|
||||
* A variable controlling whether to enable Vulkan Validation Layers.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user