X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmodule.cpp;h=74e886b06bcc06895cedcd9b0b77b00e5f0bc783;hb=c93e0613e96ec6817e26b533e90dc49d45787941;hp=009733a977041458a2f0602e4e05353ba6d84515;hpb=4c705a6fba590514bc3fab2a324c24fddc30cac6;p=libs%2Fgl.git diff --git a/source/core/module.cpp b/source/core/module.cpp index 009733a9..74e886b0 100644 --- a/source/core/module.cpp +++ b/source/core/module.cpp @@ -7,9 +7,6 @@ using namespace std; namespace Msp { namespace GL { -Module::Module() -{ } - void Module::set_source(const string &src) { SL::Compiler compiler; @@ -29,7 +26,8 @@ void Module::load_source(IO::Base &io, const string &name) load_source(io, 0, name); } -void Module::compile(SL::Compiler &compiler) + +void GlslModule::compile(SL::Compiler &compiler) { compiler.compile(SL::Compiler::MODULE); prepared_source = compiler.get_combined_glsl();