From 7f903f32d1dfc48176dad10b67766d9032a0675e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 8 Feb 2019 17:34:03 -0800 Subject: Updated IRenderDevice::CreateTexture and IRenderDevice::CreateBuffer to take pointers to initial data rather than references --- TextureLoader/src/TextureLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TextureLoader/src/TextureLoader.cpp') diff --git a/TextureLoader/src/TextureLoader.cpp b/TextureLoader/src/TextureLoader.cpp index c0fa274..0b6529c 100644 --- a/TextureLoader/src/TextureLoader.cpp +++ b/TextureLoader/src/TextureLoader.cpp @@ -239,7 +239,7 @@ namespace Diligent TexData.pSubResources = pSubResources.data(); TexData.NumSubresources = TexDesc.MipLevels; - pDevice->CreateTexture( TexDesc, TexData, ppTexture ); + pDevice->CreateTexture( TexDesc, &TexData, ppTexture ); } void CreateTextureFromDDS( IDataBlob *pDDSData, -- cgit v1.2.3