File projectM-2.0.1-return.diff of Package projectM

Index: projectM-2.0.1-Source/Renderer/PerlinNoise.hpp
===================================================================
--- projectM-2.0.1-Source.orig/Renderer/PerlinNoise.hpp
+++ projectM-2.0.1-Source/Renderer/PerlinNoise.hpp
@@ -37,13 +37,13 @@ private:
 	static inline float noise(int x, int y)
 	{
 		 int n = x + y * 57;
-		 noise(n);
+		 return noise(n);
 	}
 
 	static inline float noise(int x, int y, int z)
 	{
 		 int n = x + y * 57 + z * 141;
-		 noise(n);
+		 return noise(n);
 	}
 
 	static inline float cos_interp(float a, float b, float x)
openSUSE Build Service is sponsored by