diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-11-21 18:01:10 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-11-21 18:01:10 +0000 |
| commit | 41e5a5404dd18c748a8355c0796d5e53f793c3b9 (patch) | |
| tree | 58af8fabc3132d1edce8248ae5f5eaf53bbd6f42 /unityplugin/GhostCubeScene/src | |
| parent | Fixed release history (diff) | |
| download | DiligentEngine-41e5a5404dd18c748a8355c0796d5e53f793c3b9.tar.gz DiligentEngine-41e5a5404dd18c748a8355c0796d5e53f793c3b9.zip | |
Implemented explicit resource state transitions
Diffstat (limited to 'unityplugin/GhostCubeScene/src')
| -rw-r--r-- | unityplugin/GhostCubeScene/src/GhostCubeScene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp index 87ef39e..62fa900 100644 --- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp +++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp @@ -189,7 +189,7 @@ void GhostCubeScene::Render(UnityRenderingEvent RenderEventFunc) // Call the plugin RenderEventFunc(0); } - + // We need to invalidate the context state since the plugin has used d3d11 context pCtx->InvalidateState(); pCtx->SetRenderTargets(0, nullptr, nullptr); |
