wined3d: Enable pixel shaders by default.

This commit is contained in:
H. Verbeet 2006-09-26 20:31:44 +02:00 committed by Alexandre Julliard
parent ba8a6a3c0c
commit fdefaed46d
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ void (*wine_tsx11_unlock_ptr)(void) = NULL;
wined3d_settings_t wined3d_settings =
{
VS_HW, /* Hardware by default */
PS_NONE, /* Disabled by default */
PS_HW, /* Hardware by default */
VBO_HW, /* Hardware by default */
FALSE, /* Use of GLSL disabled by default */
SHADER_ARB, /* Use ARB vertex programs, when available */

View File

@ -165,7 +165,7 @@ static void init_dialog(HWND dialog)
}
HeapFree(GetProcessHeap(), 0, buf);
buf = get_reg_key(config_key, keypath("Direct3D"), "PixelShaderMode", "disabled");
buf = get_reg_key(config_key, keypath("Direct3D"), "PixelShaderMode", "enabled");
if (!strcmp(buf, "enabled"))
CheckDlgButton(dialog, IDC_D3D_PSHADER_MODE, BST_CHECKED);
else