Fix Cycles standalone not finding CPU device after recent changes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 12 Nov 2016 14:41:42 +0000 (15:41 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 12 Nov 2016 16:33:07 +0000 (17:33 +0100)
intern/cycles/app/cycles_standalone.cpp

index e8168bc15ff38be558c2bfc8302cce450500aaac..b21e8630cdbb45079067ce1fbdcb280fa9ea6f73 100644 (file)
@@ -337,7 +337,7 @@ static void options_parse(int argc, const char **argv)
 
        /* device names */
        string device_names = "";
-       string devicename = "cpu";
+       string devicename = "CPU";
        bool list = false;
 
        vector<DeviceType>& types = Device::available_types();