mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-19 11:18:27 +00:00
Use direct3d11 as the default renderer on Windows
The D3D12 renderer initializes but has poor performance or graphical issues on older Intel hardware. Fixes https://github.com/libsdl-org/SDL/issues/7634 Fixes https://github.com/libsdl-org/SDL/issues/9093
This commit is contained in:
parent
ad036d43e9
commit
ba34025423
1 changed files with 3 additions and 3 deletions
|
@ -89,12 +89,12 @@ this should probably be removed at some point in the future. --ryan. */
|
|||
|
||||
#ifndef SDL_RENDER_DISABLED
|
||||
static const SDL_RenderDriver *render_drivers[] = {
|
||||
#if SDL_VIDEO_RENDER_D3D12
|
||||
&D3D12_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_D3D11
|
||||
&D3D11_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_D3D12
|
||||
&D3D12_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_D3D
|
||||
&D3D_RenderDriver,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue