Renderer: Implement and fix front face (winding order) between Vulkan / OpenGL

This commit is contained in:
Jérôme Leclercq
2021-05-28 22:58:14 +02:00
parent 299585a7de
commit ff505e9019
15 changed files with 71 additions and 30 deletions

View File

@@ -241,10 +241,7 @@ namespace Nz
void OpenGLCommandBuffer::ApplyStates(const GL::Context& context, const DrawStates& states)
{
states.pipeline->Apply(context);
states.pipeline->FlipY(states.shouldFlipY);
states.pipeline->Apply(context, states.shouldFlipY);
states.shaderBindings->Apply(context);
if (states.scissorRegion)