wined3d: Accept "renderer" in addition to "DirectDrawRenderer".
Even though the "gdi" renderer is mainly used for ddraw, wined3d itself has no knowledge of ddraw. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
70bb787872
commit
723e62ab99
|
@ -307,7 +307,8 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
|
|||
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))
|
||||
TRACE("Limiting CS shader model to %u.\n", wined3d_settings.max_sm_cs);
|
||||
if (!get_config_key(hkey, appkey, "DirectDrawRenderer", buffer, size)
|
||||
if ((!get_config_key(hkey, appkey, "renderer", buffer, size)
|
||||
|| !get_config_key(hkey, appkey, "DirectDrawRenderer", buffer, size))
|
||||
&& !strcmp(buffer, "gdi"))
|
||||
{
|
||||
TRACE("Disabling 3D support.\n");
|
||||
|
|
Loading…
Reference in New Issue