summaryrefslogtreecommitdiffstats
path: root/RenderScript/src/TextureParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RenderScript/src/TextureParser.cpp')
-rw-r--r--RenderScript/src/TextureParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RenderScript/src/TextureParser.cpp b/RenderScript/src/TextureParser.cpp
index c092bbd..3d8cf56 100644
--- a/RenderScript/src/TextureParser.cpp
+++ b/RenderScript/src/TextureParser.cpp
@@ -165,7 +165,7 @@ namespace Diligent
auto ppTexture = reinterpret_cast<ITexture**>(lua_newuserdata( L, sizeof( ITexture* ) ));
*ppTexture = nullptr;
- m_pRenderDevice->CreateTexture( TextureDesc, TextureData(), ppTexture );
+ m_pRenderDevice->CreateTexture( TextureDesc, nullptr, ppTexture );
if( *ppTexture == nullptr )
SCRIPT_PARSING_ERROR(L, "Failed to create a texture")