From f5af340900500fbff08b1fb4f3dca8f0c5171d0d Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 14 Dec 2014 20:15:44 +0100
Subject: wined3d: Enable CSMT by default, print a winediag message informing
 about this patchset.

---
 dlls/wined3d/wined3d_main.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c
index a1e4e6c..30b1ff5 100644
--- a/dlls/wined3d/wined3d_main.c
+++ b/dlls/wined3d/wined3d_main.c
@@ -85,7 +85,7 @@ struct wined3d_settings wined3d_settings =
     ~0U,            /* No GS shader model limit by default. */
     ~0U,            /* No PS shader model limit by default. */
     FALSE,          /* 3D support enabled by default. */
-    FALSE,          /* No multithreaded CS by default. */
+    TRUE,           /* Multithreaded CS by default. */
     FALSE,          /* Do not ignore render target maps. */
 };
 
@@ -307,10 +307,10 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
             wined3d_settings.no_3d = TRUE;
         }
         if (!get_config_key(hkey, appkey, "CSMT", buffer, size)
-                && !strcmp(buffer,"enabled"))
+                && !strcmp(buffer,"disabled"))
         {
-            TRACE("Enabling multithreaded command stream.\n");
-            wined3d_settings.cs_multithreaded = TRUE;
+            TRACE("Disabling multithreaded command stream.\n");
+            wined3d_settings.cs_multithreaded = FALSE;
         }
         if (!get_config_key(hkey, appkey, "ignore_rt_map", buffer, size)
                 && !strcmp(buffer,"enabled"))
@@ -320,6 +320,9 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
         }
     }
 
+    FIXME_(winediag)("Experimental wined3d CSMT feature is currently %s.\n",
+        wined3d_settings.cs_multithreaded ? "enabled" : "disabled");
+
     if (appkey) RegCloseKey( appkey );
     if (hkey) RegCloseKey( hkey );
 
-- 
2.1.3

