Przeglądaj źródła

Remove float reference

Marco Bellan 9 lat temu
rodzic
commit
ef1357c7bd
1 zmienionych plików z 2 dodań i 2 usunięć
  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
     };
 
 	/** @} */
-}
+}