{
init();
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
ProgramBuilder builder(features);
builder.add_shaders(*this);
+#pragma GCC diagnostic pop
link();
}
void Program::Loader::standard()
{
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
ProgramBuilder::StandardFeatures feat;
load_sub(feat);
ProgramBuilder builder(feat);
builder.add_shaders(obj);
+#pragma GCC diagnostic pop
}
void Program::Loader::vertex_shader(const string &src)
Program();
/// Constructs a Program with standard features.
- Program(const ProgramBuilder::StandardFeatures &);
+ DEPRECATED Program(const ProgramBuilder::StandardFeatures &);
/// Constructs a Program from unified source code using ProgramCompiler.
Program(const std::string &);