summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubeScene/src
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-10 00:32:22 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-10 00:32:22 +0000
commitb6861fd6c8700d69b5de11a6feced4fb93116053 (patch)
tree9d2ee0ce511c41c3c87b8018010ffc5c16c6f64e /unityplugin/GhostCubeScene/src
parentUpdated core & samples submodules. Using convenience constructors for DrawAtt... (diff)
downloadDiligentEngine-b6861fd6c8700d69b5de11a6feced4fb93116053.tar.gz
DiligentEngine-b6861fd6c8700d69b5de11a6feced4fb93116053.zip
Updated version in appveyor script + checing in file missed in previous commit
Diffstat (limited to 'unityplugin/GhostCubeScene/src')
-rw-r--r--unityplugin/GhostCubeScene/src/GhostCubeScene.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
index 327b11a..f68cd98 100644
--- a/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
+++ b/unityplugin/GhostCubeScene/src/GhostCubeScene.cpp
@@ -210,7 +210,6 @@ void GhostCubeScene::Render(UnityRenderingEvent RenderEventFunc)
*CBConstants = transposeMatrix(wvp);
}
- DrawAttribs DrawAttrs;
- DrawAttrs.NumVertices = 4;
+ DrawAttribs DrawAttrs(4, DRAW_FLAG_VERIFY_STATES);
pCtx->Draw(DrawAttrs);
}