summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestRenderTarget.cpp
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-13 01:48:34 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-13 01:48:34 +0000
commit8df96e2df8decdd134beae14bf2cec68b6dd5230 (patch)
treecc03d887198f94be22beebecc08efc152f282245 /Tests/TestApp/src/TestRenderTarget.cpp
parentUpdated submodules (added unit tests). Reworked TestApp (diff)
downloadDiligentEngine-8df96e2df8decdd134beae14bf2cec68b6dd5230.tar.gz
DiligentEngine-8df96e2df8decdd134beae14bf2cec68b6dd5230.zip
Removed RenderScript & Lua; updated submodules
Diffstat (limited to 'Tests/TestApp/src/TestRenderTarget.cpp')
-rw-r--r--Tests/TestApp/src/TestRenderTarget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestRenderTarget.cpp b/Tests/TestApp/src/TestRenderTarget.cpp
index 7a18990..033dffc 100644
--- a/Tests/TestApp/src/TestRenderTarget.cpp
+++ b/Tests/TestApp/src/TestRenderTarget.cpp
@@ -24,7 +24,6 @@
#include "pch.h"
#include "TestRenderTarget.h"
#include "GraphicsUtilities.h"
-#include "ConvenienceFunctions.h"
using namespace Diligent;
@@ -40,6 +39,7 @@ void TestRenderTarget::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont
return;
#endif
+#if 0
m_pRenderDevice = pDevice;
m_pDeviceContext = pDeviceContext;
m_pRenderScript = CreateRenderScriptFromFile( "TestRenderTargets.lua", pDevice, pDeviceContext, [&]( ScriptParser *pScriptParser )
@@ -54,13 +54,15 @@ void TestRenderTarget::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont
pScriptParser->SetGlobalVariable( "XExt", fXExtent );
pScriptParser->SetGlobalVariable( "YExt", fYExtent );
} );
+#endif
}
void TestRenderTarget::Draw()
{
if(!m_pDeviceContext)
return;
-
+#if 0
m_pRenderScript->Run( m_pDeviceContext, "Render" );
SetStatus(TestResult::Succeeded);
+#endif
}