]> git.tdb.fi Git - libs/gl.git/commitdiff
Add missing implementation of RenderPass::set_back_faces
authorMikko Rasa <tdb@tdb.fi>
Mon, 19 Apr 2021 08:26:55 +0000 (11:26 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 19 Apr 2021 15:02:21 +0000 (18:02 +0300)
source/materials/renderpass.cpp

index 35692a4eaa69d49e54666e5684ff46b04f03c324..36404a6620b7d209713fb6302b970af9027aad72 100644 (file)
@@ -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;