summaryrefslogtreecommitdiffstats
path: root/TextureLoader/src/TextureLoader.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-09 01:34:03 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-09 01:34:03 +0000
commit7f903f32d1dfc48176dad10b67766d9032a0675e (patch)
treedf4d41b3d4c9af9e0163da43d3467301882cb75b /TextureLoader/src/TextureLoader.cpp
parentImproved handling unordered_maps (diff)
downloadDiligentTools-7f903f32d1dfc48176dad10b67766d9032a0675e.tar.gz
DiligentTools-7f903f32d1dfc48176dad10b67766d9032a0675e.zip
Updated IRenderDevice::CreateTexture and IRenderDevice::CreateBuffer to take pointers to initial data rather than references
Diffstat (limited to 'TextureLoader/src/TextureLoader.cpp')
-rw-r--r--TextureLoader/src/TextureLoader.cpp2
1 files changed, 1 insertions, 1 deletions
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,