diff --git a/Runtime/Graphics/Shaders/CLineRendererShaders.cpp b/Runtime/Graphics/Shaders/CLineRendererShaders.cpp index 3e2d94284..581551003 100644 --- a/Runtime/Graphics/Shaders/CLineRendererShaders.cpp +++ b/Runtime/Graphics/Shaders/CLineRendererShaders.cpp @@ -7,7 +7,8 @@ using namespace hsh::pipeline; template struct CLineRendererTexPipeline -: pipeline, BlendAttachment>, +: pipeline, + std::conditional_t, BlendAttachment>, depth_compare> { CLineRendererTexPipeline(hsh::vertex_buffer vbo, hsh::uniform_buffer uniBuf HSH_VAR_STAGE(fragment), @@ -33,7 +34,8 @@ template struct CLineRendererTexPipeline; template struct CLineRendererNoTexPipeline -: pipeline, BlendAttachment>, +: pipeline, + std::conditional_t, BlendAttachment>, depth_compare> { CLineRendererNoTexPipeline(hsh::vertex_buffer vbo, hsh::uniform_buffer uniBuf HSH_VAR_STAGE(fragment)) {