mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
Fix DrawOverlay3D::getOpaquePipeline invalid signature
This commit is contained in:
parent
665baff665
commit
35f9d49c06
1 changed files with 2 additions and 2 deletions
|
@ -174,8 +174,8 @@ void DrawTransparentDeferred::run(const SceneContextPointer& sceneContext, const
|
|||
glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_CONSTANT_ALPHA, GL_ONE);
|
||||
}
|
||||
|
||||
gpu::PipelinePointer DrawOverlay3D::_opaquePipeline;
|
||||
const gpu::PipelinePointer& DrawOverlay3D::getOpaquePipeline() const {
|
||||
gpu::PipelinePointer DrawOverlay3D::_opaquePipeline;
|
||||
const gpu::PipelinePointer& DrawOverlay3D::getOpaquePipeline() {
|
||||
if (!_opaquePipeline) {
|
||||
auto vs = gpu::ShaderPointer(gpu::Shader::createVertex(std::string(overlay3D_vert)));
|
||||
auto ps = gpu::ShaderPointer(gpu::Shader::createPixel(std::string(overlay3D_frag)));
|
||||
|
|
Loading…
Reference in a new issue