wined3d: Get rid of the "UseGLSL" setting.

This was deprecated in Wine 5.0, use the "shader_backend" setting instead.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2021-01-19 14:34:54 +01:00 committed by Alexandre Julliard
parent 7a54209d4b
commit 92dacb1d68
1 changed files with 0 additions and 4 deletions

View File

@ -294,10 +294,6 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
wined3d_settings.shader_backend = WINED3D_SHADER_BACKEND_NONE;
}
}
else if (!get_config_key(hkey, appkey, "UseGLSL", buffer, size) && !strcmp(buffer, "disabled"))
{
wined3d_settings.shader_backend = WINED3D_SHADER_BACKEND_ARB;
}
if (wined3d_settings.shader_backend == WINED3D_SHADER_BACKEND_ARB
|| wined3d_settings.shader_backend == WINED3D_SHADER_BACKEND_NONE)
{