wined3d: Get rid of the "DirectDrawRenderer" setting.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2020-01-28 16:17:40 +03:30 committed by Alexandre Julliard
parent 92d336263c
commit 6e515efb71
1 changed files with 1 additions and 2 deletions

View File

@ -374,8 +374,7 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
TRACE("Limiting PS shader model to %u.\n", wined3d_settings.max_sm_ps); TRACE("Limiting PS shader model to %u.\n", wined3d_settings.max_sm_ps);
if (!get_config_key_dword(hkey, appkey, "MaxShaderModelCS", &wined3d_settings.max_sm_cs)) if (!get_config_key_dword(hkey, appkey, "MaxShaderModelCS", &wined3d_settings.max_sm_cs))
TRACE("Limiting CS shader model to %u.\n", wined3d_settings.max_sm_cs); TRACE("Limiting CS shader model to %u.\n", wined3d_settings.max_sm_cs);
if (!get_config_key(hkey, appkey, "renderer", buffer, size) if (!get_config_key(hkey, appkey, "renderer", buffer, size))
|| !get_config_key(hkey, appkey, "DirectDrawRenderer", buffer, size))
{ {
if (!strcmp(buffer, "vulkan")) if (!strcmp(buffer, "vulkan"))
{ {