message: Compile fix for non CUDA builds
diff: @@ -531,50 +531,52 @@ void renderer::on_display()
  : algo == Pathtracing ? vec4(1.0) : vec4(0.0)
  ;
  - if (rt.mode() == host_device_rt::GPU)
  + if (rt.mode() == host_device_rt::CPU)
  {
  - render_plastic_cu(
  - device_bvh,
  - device_geometric_normals,
  - device_shading_normals,
  - device_tex_coords,
  - device_materials,
  - device_textures,
  + render_plastic_cpp(
  + host_bvh,
  + mod.geometric_normals,
  + mod.shading_normals,
  + mod.tex_coords,
  + host_materials,
  + mod.textures,
  host_lights,
  bounces,
  epsilon,
  vec4(background_color(), 1.0f),
  amb,
  rt,
  - device_sched,
  + host_sched,
  cam,
  frame_num,
  algo,
  ssaa_samples
  );
  }
  - else if (rt.mode() == host_device_rt::CPU)
  +#ifdef __CUDACC__
  + else if (rt.mode() == host_device_rt::GPU)
  {
  - render_plastic_cpp(
  - host_bvh,
  - mod.geometric_normals,
  - mod.shading_normals,
  - mod.tex_coords,
  - host_materials,
  - mod.textures,
  + render_plastic_cu(
  + device_bvh,
  + device_geometric_normals,
  + device_shading_normals,
  + device_tex_coords,
  + device_materials,
  + device_textures,
  host_lights,
  bounces,
  epsilon,
  vec4(background_color(), 1.0f),
  amb,
  rt,
  - host_sched,
  + device_sched,
  cam,
  frame_num,
  algo,
  ssaa_samples
  );
  }
  +#endif
  rt.display_color_buffer();
  