Christian Costa titan.costa@wanadoo.fr writes:
if ( !RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\d3d", &hkey) && !RegQueryValueExA( hkey, "vs_mode", 0, NULL, buffer, &size) )
I changed the key name to "Software\Wine\Direct3D" and the value to "VertexShaderMode", in an attempt to make it a bit less obscure for users who stumble upon it in regedit. Feel free to suggest other names if you don't like these.