summaryrefslogtreecommitdiffstats
path: root/unityplugin
diff options
context:
space:
mode:
Diffstat (limited to 'unityplugin')
-rw-r--r--unityplugin/GhostCubePlugin/PluginSource/src/SamplePlugin.cpp2
-rw-r--r--unityplugin/GhostCubeScene/src/GhostCubeScene.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/SamplePlugin.cpp b/unityplugin/GhostCubePlugin/PluginSource/src/SamplePlugin.cpp
index ea238c0..f750235 100644
--- a/unityplugin/GhostCubePlugin/PluginSource/src/SamplePlugin.cpp
+++ b/unityplugin/GhostCubePlugin/PluginSource/src/SamplePlugin.cpp
@@ -166,6 +166,6 @@ void SamplePlugin::Render(Diligent::IDeviceContext *pContext, const float4x4 &Vi
pContext->SetPipelineState(m_PSO);
pContext->CommitShaderResources(m_SRB, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
- DrawAttribs DrawAttrs(36, VT_UINT32, DRAW_FLAG_VERIFY_STATES);
+ DrawAttribs DrawAttrs(36, VT_UINT32, DRAW_FLAG_VERIFY_ALL);
pContext->Draw(DrawAttrs);
}
diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
index 4aad6f5..4e64ab8 100644
--- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
+++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
@@ -211,6 +211,6 @@ void GhostCubeScene::Render(UnityRenderingEvent RenderEventFunc)
*CBConstants = transposeMatrix(wvp);
}
- DrawAttribs DrawAttrs(4, DRAW_FLAG_VERIFY_STATES);
+ DrawAttribs DrawAttrs(4, DRAW_FLAG_VERIFY_ALL);
pCtx->Draw(DrawAttrs);
}