]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/renderpass.cpp
Add missing implementation of RenderPass::set_back_faces
[libs/gl.git] / 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;