]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove unused constructors
authorMikko Rasa <tdb@tdb.fi>
Mon, 15 Feb 2021 16:05:46 +0000 (18:05 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 15 Feb 2021 16:05:46 +0000 (18:05 +0200)
source/glsl/compatibility.cpp
source/glsl/compatibility.h
source/glsl/optimize.cpp
source/glsl/optimize.h

index 1ada7b7c9acbd0f23fab28e868ca839621263b92..f12a46e384cf6c451b05125048ba89ffd38fe733 100644 (file)
@@ -85,12 +85,6 @@ 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);
index fdbd3d07fb304c0c79202445f4df04befaef9a58..59e21c35a3644a78451f85b1100bc47b107a9547 100644 (file)
@@ -49,7 +49,6 @@ private:
 
 public:
        LegacyConverter();
-       LegacyConverter(const Version &);
 
        virtual void apply(Stage &);
 
index c76cae1b50f34a69ade9d31ead0c563250d24ae6..5813e2d9a2a196a6fe759b730641dea562f6bdfa 100644 (file)
@@ -39,10 +39,6 @@ void InlineableFunctionLocator::visit(FunctionDeclaration &func)
 }
 
 
-FunctionInliner::FunctionInliner():
-       extract_result(0)
-{ }
-
 FunctionInliner::FunctionInliner(const set<FunctionDeclaration *> &in):
        inlineable(in),
        extract_result(0)
index cfebf0f782c46aee0c2bbc0730baf555b0081b8a..01508f450257ac4bee4b00dffd4e062449f3e8a5 100644 (file)
@@ -36,7 +36,6 @@ private:
        RefPtr<Expression> inline_result;
 
 public:
-       FunctionInliner();
        FunctionInliner(const std::set<FunctionDeclaration *> &);
 
        void apply(Stage &s) { visit(s.content); }