* crash fix in volume render, less reliance on global R
[blender.git] / source / blender / render / intern / include / volume_precache.h
index 368d60ee7f003ba71635c33c653fd6d508b5aade..5c3a7bdfbf08ea07a691c971c15c36682de0c547 100644 (file)
@@ -28,6 +28,6 @@
  
 void volume_precache(Render *re);
 void free_volume_precache(Render *re);
  
 void volume_precache(Render *re);
 void free_volume_precache(Render *re);
-int point_inside_volume_objectinstance(ObjectInstanceRen *obi, float *co);
+int point_inside_volume_objectinstance(Render *re, ObjectInstanceRen *obi, float *co);
 
 #define VOL_MS_TIMESTEP        0.1f
 
 #define VOL_MS_TIMESTEP        0.1f