diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 02:05:52 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-24 02:05:52 +0000 |
| commit | 3c1fa10c3f4a99bed09cf4cc112935841c02254b (patch) | |
| tree | e719c53a45173bdd99be601bc5c5c7e5ab8765e9 /TextureLoader/src/Image.cpp | |
| parent | Fixed clang compiler warning (diff) | |
| download | DiligentTools-3c1fa10c3f4a99bed09cf4cc112935841c02254b.tar.gz DiligentTools-3c1fa10c3f4a99bed09cf4cc112935841c02254b.zip | |
Removed local redefinition of Align()
Diffstat (limited to 'TextureLoader/src/Image.cpp')
| -rw-r--r-- | TextureLoader/src/Image.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/TextureLoader/src/Image.cpp b/TextureLoader/src/Image.cpp index fc3cd85..13ef57d 100644 --- a/TextureLoader/src/Image.cpp +++ b/TextureLoader/src/Image.cpp @@ -32,17 +32,7 @@ #include "DataBlobImpl.h" #include "DebugUtilities.h" #include "RefCntAutoPtr.h" - -using namespace Diligent; -namespace -{ - template <typename T> - inline T Align(T v, T align) - { - VERIFY( (align & (align-1)) == 0, "Alignment must be power of 2"); - return (v + (align-1)) & ~(align-1); - } -} +#include "Align.h" namespace Diligent { |
