summaryrefslogtreecommitdiffstats
path: root/unityplugin/GhostCubeScene/src
diff options
context:
space:
mode:
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);
}