mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-25 20:01:04 +00:00
SDL: OpenGL instead of Direct3D11 for Software blitter
Repaired performance regression under certain play conditions
This commit is contained in:
parent
0a98f9c69a
commit
d13c1f83e8
1 changed files with 1 additions and 1 deletions
|
@ -1782,7 +1782,7 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
|
|||
// "direct3d" driver (D3D9) causes Drmingw exchndl
|
||||
// to not write RPT files. Every other driver
|
||||
// seems fine.
|
||||
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "direct3d11");
|
||||
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl");
|
||||
|
||||
renderer = SDL_CreateRenderer(window, -1, flags);
|
||||
if (renderer == NULL)
|
||||
|
|
Loading…
Reference in a new issue