Update demo code

This commit is contained in:
SirLynix
2022-11-20 15:43:00 +01:00
committed by Jérôme Leclercq
parent 1727ae8631
commit f572d229d9
3 changed files with 21 additions and 17 deletions

View File

@@ -233,7 +233,7 @@ int main()
Nz::RenderPipelineInfo pipelineInfo;
pipelineInfo.pipelineLayout = renderPipelineLayout;
pipelineInfo.faceCulling = true;
pipelineInfo.faceCulling = Nz::FaceCulling::Back;
pipelineInfo.depthBuffer = true;
pipelineInfo.shaderModules.emplace_back(fragVertShader);