]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/compatibility.cpp
Remove unused constructors
[libs/gl.git] / source / glsl / compatibility.cpp
index 398a7bd30a76eaa4b141b400d9cd4e08d0e87958..f12a46e384cf6c451b05125048ba89ffd38fe733 100644 (file)
@@ -85,11 +85,11 @@ LegacyConverter::LegacyConverter():
        frag_out(0)
 { }
 
-LegacyConverter::LegacyConverter(const Version &v):
-       target_api(get_gl_api()),
-       target_version(v),
-       frag_out(0)
-}
+void LegacyConverter::apply(Stage &s)
+{
+       SetForScope<Stage *> set_stage(stage, &s);
+       visit(s.content);
+}
 
 bool LegacyConverter::check_version(const Version &feature_version) const
 {
@@ -113,12 +113,6 @@ bool LegacyConverter::check_extension(const Extension &extension) const
        return true;
 }
 
-void LegacyConverter::apply(Stage &s)
-{
-       SetForScope<Stage *> set_stage(stage, &s);
-       visit(s.content);
-}
-
 bool LegacyConverter::supports_unified_interface_syntax() const
 {
        if(target_api==OPENGL_ES2)