wined3d: Enable multisampling by default.

This commit is contained in:
Henri Verbeet 2011-08-25 21:05:04 +02:00 committed by Alexandre Julliard
parent 641f52ef96
commit 8a2b435dd3
1 changed files with 4 additions and 4 deletions

View File

@ -84,7 +84,7 @@ struct wined3d_settings wined3d_settings =
PCI_DEVICE_NONE,/* PCI Device ID */ PCI_DEVICE_NONE,/* PCI Device ID */
0, /* The default of memory is set in init_driver_info */ 0, /* The default of memory is set in init_driver_info */
NULL, /* No wine logo by default */ NULL, /* No wine logo by default */
FALSE, /* Multisampling disabled by default. */ TRUE, /* Multisampling enabled by default. */
FALSE, /* No strict draw ordering. */ FALSE, /* No strict draw ordering. */
FALSE, /* Try to render onscreen by default. */ FALSE, /* Try to render onscreen by default. */
}; };
@ -329,10 +329,10 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
} }
if ( !get_config_key( hkey, appkey, "Multisampling", buffer, size) ) if ( !get_config_key( hkey, appkey, "Multisampling", buffer, size) )
{ {
if (!strcmp(buffer,"enabled")) if (!strcmp(buffer, "disabled"))
{ {
TRACE("Allow multisampling\n"); TRACE("Multisampling disabled.\n");
wined3d_settings.allow_multisampling = TRUE; wined3d_settings.allow_multisampling = FALSE;
} }
} }
if (!get_config_key(hkey, appkey, "StrictDrawOrdering", buffer, size) if (!get_config_key(hkey, appkey, "StrictDrawOrdering", buffer, size)