diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-09 01:34:03 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-09 01:34:03 +0000 |
| commit | 7f903f32d1dfc48176dad10b67766d9032a0675e (patch) | |
| tree | df4d41b3d4c9af9e0163da43d3467301882cb75b /TextureLoader/src/TextureLoader.cpp | |
| parent | Improved handling unordered_maps (diff) | |
| download | DiligentTools-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.cpp | 2 |
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, |
