From: Mikko Rasa Date: Mon, 19 Apr 2021 08:26:55 +0000 (+0300) Subject: Add missing implementation of RenderPass::set_back_faces X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=3c2241d9eec23d75e9be08922420736d151278a3;p=libs%2Fgl.git Add missing implementation of RenderPass::set_back_faces --- 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;