From 275a86cc0195881e759894c26ce63f722efabd4d Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 22 Apr 2019 20:33:36 -0700 Subject: Updated math library --- Graphics/GraphicsEngine/interface/Texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') 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), -- cgit v1.2.3