]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/technique.cpp
Remove deprecated interfaces from material and lighting code
[libs/gl.git] / source / materials / technique.cpp
index 21cb3a3211b24c6607c9a08ffc35d7a765322f18..122eaf73d412f8f91f5c6fbf3690d6240cfea057 100644 (file)
@@ -92,14 +92,6 @@ bool Technique::replace_uniforms(const ProgramData &shdata)
        return replaced;
 }
 
-bool Technique::has_shaders() const
-{
-       for(const auto &kvp: passes)
-               if(kvp.second.get_shader_program())
-                       return true;
-       return false;
-}
-
 void Technique::set_debug_name(const string &name)
 {
 #ifdef DEBUG