Browse Source

Fixed comment.

bkaradzic 12 years ago
parent
commit
1d0c8809bb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/bx/allocator.h

+ 2 - 2
include/bx/allocator.h

@@ -34,7 +34,7 @@
 
 namespace bx
 {
-	/// Aligns pointer to nearest next aligned address. _align
+	/// Aligns pointer to nearest next aligned address. _align must be power of two.
 	inline void* alignPtr(void* _ptr, size_t _extra, size_t _align = BX_CONFIG_ALLOCATOR_NATURAL_ALIGNMENT)
 	{
 		union { void* ptr; size_t addr; } un;
@@ -46,7 +46,7 @@ namespace bx
 		return un.ptr;
 	}
 
-	/// Check if pointer is aligned. _align must be power of two value.
+	/// Check if pointer is aligned. _align must be power of two.
 	inline bool isPtrAligned(const void* _ptr, size_t _align = BX_CONFIG_ALLOCATOR_NATURAL_ALIGNMENT)
 	{
 		union { const void* ptr; size_t addr; } un;