summaryrefslogtreecommitdiffstats
path: root/TextureLoader/src/TextureLoader.cpp
diff options
context:
space:
mode:
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,