File: gcc6.1.patch

package info (click to toggle)
structure-synth 1.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,276 kB
  • ctags: 1,973
  • sloc: cpp: 10,209; python: 164; makefile: 70; sh: 15
file content (13 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: structure-synth-1.5.0/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
===================================================================
--- structure-synth-1.5.0.orig/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
+++ structure-synth-1.5.0/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp
@@ -122,7 +122,7 @@ namespace SyntopiaCore {
 						currentT = p;
 
 						// We do not intersect grid.
-						if (!found) return false;
+						if (!found) return NULL;
 				}
 
 				stepX = (dir.x() > 0) ? 1 : -1;