Renderer: Implement and fix front face (winding order) between Vulkan / OpenGL
This commit is contained in:
@@ -22,9 +22,7 @@ namespace Nz
|
||||
OpenGLRenderPipeline(OpenGLDevice& device, RenderPipelineInfo pipelineInfo);
|
||||
~OpenGLRenderPipeline() = default;
|
||||
|
||||
void Apply(const GL::Context& context) const;
|
||||
|
||||
void FlipY(bool shouldFlipY) const;
|
||||
void Apply(const GL::Context& context, bool flipViewport) const;
|
||||
|
||||
inline const RenderPipelineInfo& GetPipelineInfo() const override;
|
||||
|
||||
@@ -32,7 +30,7 @@ namespace Nz
|
||||
RenderPipelineInfo m_pipelineInfo;
|
||||
GL::Program m_program;
|
||||
GLint m_flipYUniformLocation;
|
||||
mutable bool m_isYFlipped;
|
||||
mutable bool m_isViewportFlipped;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user