Revert "Cycles: Change OpenCL split kernel to use single program by default"
[blender.git] / intern / cycles / util / util_debug.cpp
index 68e6f26105736af96964fe802c8917ee53e5c277..cd316c46b89585358a77767750cf1aa6a83da747 100644 (file)
@@ -132,7 +132,7 @@ void DebugFlags::OpenCL::reset()
        }
        /* Initialize other flags from environment variables. */
        debug = (getenv("CYCLES_OPENCL_DEBUG") != NULL);
-       single_program = (getenv("CYCLES_OPENCL_MULTI_PROGRAM") == NULL);
+       single_program = (getenv("CYCLES_OPENCL_SINGLE_PROGRAM") != NULL);
 }
 
 DebugFlags::DebugFlags()