Cycles: Fix typo in the debug panel commit

This commit is contained in:
Sergey Sharybin 2016-01-14 19:07:06 +05:00
parent 55926ad298
commit a4625b910f

@ -92,7 +92,7 @@ void DebugFlags::OpenCL::reset()
if(getenv("CYCLES_OPENCL_MEGA_KERNEL_TEST") != NULL) {
kernel_type = DebugFlags::OpenCL::KERNEL_MEGA;
}
else if(getenv("CYCLES_OPENCL_MEGA_KERNEL_TEST") != NULL) {
else if(getenv("CYCLES_OPENCL_SPLITKERNEL_TEST") != NULL) {
kernel_type = DebugFlags::OpenCL::KERNEL_SPLIT;
}
/* Initialize other flags from environment variables. */