init();
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
Program::Program(const ProgramBuilder::StandardFeatures &features)
{
init();
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
ProgramBuilder builder(features);
builder.add_shaders(*this);
-#pragma GCC diagnostic pop
link();
}
+#pragma GCC diagnostic pop
Program::Program(const std::string &source)
{
/// Constructs an empty Program with no Shaders attached.
Program();
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
/// Constructs a Program with standard features.
DEPRECATED Program(const ProgramBuilder::StandardFeatures &);
+#pragma GCC diagnostic pop
/// Constructs a Program from unified source code using ProgramCompiler.
Program(const std::string &);
namespace Msp {
namespace GL {
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
/*
Naming conventions:
n_* Normalized vector
add("normalmap", &StandardFeatures::normal_map);
}
+#pragma GCC diagnostic pop
+
} // namespace GL
} // namespace Msp