From 3c2241d9eec23d75e9be08922420736d151278a3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 19 Apr 2021 11:26:55 +0300 Subject: [PATCH] Add missing implementation of RenderPass::set_back_faces --- source/materials/renderpass.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/materials/renderpass.cpp b/source/materials/renderpass.cpp index 35692a4e..36404a66 100644 --- a/source/materials/renderpass.cpp +++ b/source/materials/renderpass.cpp @@ -130,6 +130,11 @@ int RenderPass::get_texture_index(const string &n) const return (shprog && i!=textures.end() ? shprog->get_uniform_binding(i->tag) : -1); } +void RenderPass::set_back_faces(bool bf) +{ + back_faces = bf; +} + void RenderPass::set_receive_shadows(bool rs) { receive_shadows = rs; -- 2.45.2