diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-23 03:33:36 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-23 03:33:36 +0000 |
| commit | 275a86cc0195881e759894c26ce63f722efabd4d (patch) | |
| tree | 6c19b0c3081355624e50bd7a37acb01e124cd2f8 /Graphics/GraphicsEngine | |
| parent | Added ColorConversion.h/cpp (diff) | |
| download | DiligentCore-275a86cc0195881e759894c26ce63f722efabd4d.tar.gz DiligentCore-275a86cc0195881e759894c26ce63f722efabd4d.zip | |
Updated math library
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/Texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/Texture.h b/Graphics/GraphicsEngine/interface/Texture.h index b656c5da..2074e908 100644 --- a/Graphics/GraphicsEngine/interface/Texture.h +++ b/Graphics/GraphicsEngine/interface/Texture.h @@ -229,7 +229,7 @@ struct TextureSubResData TextureSubResData()noexcept{} /// Initializes the structure members to perform copy from the CPU memory - TextureSubResData(void* _pData, Uint32 _Stride, Uint32 _DepthStride = 0)noexcept : + TextureSubResData(const void* _pData, Uint32 _Stride, Uint32 _DepthStride = 0)noexcept : pData (_pData), pSrcBuffer (nullptr), SrcOffset (0), |
