[PATCH 10/10] wined3d: Enable multisampling by default.

Henri Verbeet hverbeet at codeweavers.com
Thu Aug 25 14:05:04 CDT 2011


---
 dlls/wined3d/wined3d_main.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index da6aa2a..282f52d 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -84,7 +84,7 @@ struct wined3d_settings wined3d_settings =
     PCI_DEVICE_NONE,/* PCI Device ID */
     0,              /* The default of memory is set in init_driver_info */
     NULL,           /* No wine logo by default */
-    FALSE,          /* Multisampling disabled by default. */
+    TRUE,           /* Multisampling enabled by default. */
     FALSE,          /* No strict draw ordering. */
     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 (!strcmp(buffer,"enabled"))
+            if (!strcmp(buffer, "disabled"))
             {
-                TRACE("Allow multisampling\n");
-                wined3d_settings.allow_multisampling = TRUE;
+                TRACE("Multisampling disabled.\n");
+                wined3d_settings.allow_multisampling = FALSE;
             }
         }
         if (!get_config_key(hkey, appkey, "StrictDrawOrdering", buffer, size)
-- 
1.7.3.4




More information about the wine-patches mailing list