Henri Verbeet : wined3d: Enable multisampling by default.

Alexandre Julliard julliard at winehq.org
Fri Aug 26 10:40:48 CDT 2011


Module: wine
Branch: master
Commit: 8a2b435dd354cd4eac7a7286dfb8b08c539dbab8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8a2b435dd354cd4eac7a7286dfb8b08c539dbab8

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Aug 25 21:05:04 2011 +0200

wined3d: Enable multisampling by default.

---

 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)




More information about the wine-cvs mailing list