[Bf-blender-cvs] [247cbdc] cycles_split_kernel: Cycles: Minor style change

Mai Lavelle noreply at git.blender.org
Sun Nov 20 20:10:47 CET 2016


Commit: 247cbdc2c97c81cbcd7809a570577dc33f94aa09
Author: Mai Lavelle
Date:   Sun Nov 20 13:16:43 2016 -0500
Branches: cycles_split_kernel
https://developer.blender.org/rB247cbdc2c97c81cbcd7809a570577dc33f94aa09

Cycles: Minor style change

===================================================================

M	intern/cycles/device/device_cpu.cpp

===================================================================

diff --git a/intern/cycles/device/device_cpu.cpp b/intern/cycles/device/device_cpu.cpp
index 15395cc..5bc8287 100644
--- a/intern/cycles/device/device_cpu.cpp
+++ b/intern/cycles/device/device_cpu.cpp
@@ -664,7 +664,7 @@ protected:
 
 	inline void thread_kernel_globals_free(KernelGlobals *kg)
 	{
-		if(!kg) {
+		if(kg == NULL) {
 			return;
 		}




More information about the Bf-blender-cvs mailing list