Marco Bellan 9 роки тому
батько
коміт
ef1357c7bd
1 змінених файлів з 2 додано та 2 видалено
  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
     };
 
 	/** @} */
-}
+}