X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.cpp;h=9e54d6a86a1e2cbb673ad80752fc3376225af320;hb=28c3b49b1774028aad458d665a0772713427a3fc;hp=52150f3f7f2be252f4beca3f04c237b8b05e1107;hpb=0646b330ffa9ea7fd77e2078257499b1d58ac0f7;p=libs%2Fgl.git diff --git a/source/program.cpp b/source/program.cpp index 52150f3f..9e54d6a8 100644 --- a/source/program.cpp +++ b/source/program.cpp @@ -97,7 +97,8 @@ Program::Program(const StandardFeatures &features) init(); add_standard_shaders(features); - link(); + if(!features.transform) + link(); } Program::Program(const string &vert, const string &frag)