Explorar o código

Remove float reference

Marco Bellan %!s(int64=9) %!d(string=hai) anos
pai
achega
ef1357c7bd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Source/BansheeCore/Include/BsPixelData.h

+ 2 - 2
Source/BansheeCore/Include/BsPixelData.h

@@ -335,7 +335,7 @@ namespace BansheeEngine
 		/** 
 		 * Sets a depth value in range [0, 1] at the specified pixel coordinates.
 		 */
-		void setDepthAt(const float& depth, UINT32 x, UINT32 y, UINT32 z = 0);
+		void setDepthAt(const float depth, UINT32 x, UINT32 y, UINT32 z = 0);
 
 		/**
 		* Converts all the internal data into an array of float. Array is mapped as such:
@@ -394,4 +394,4 @@ namespace BansheeEngine
     };
 
 	/** @} */
-}
+}