]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programbuilder.cpp
Suppress some deprecation warnings from internal use
[libs/gl.git] / source / programbuilder.cpp
index 247c249b380901623e1dfc02ac573966e445a89f..53af9793efa484d125573b2c1440dcab9bb007f9 100644 (file)
@@ -15,6 +15,9 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
 /*
 Naming conventions:
   n_*        Normalized vector
@@ -1162,5 +1165,7 @@ ProgramBuilder::StandardFeatures::Loader::Loader(StandardFeatures &f):
        add("normalmap", &StandardFeatures::normal_map);
 }
 
+#pragma GCC diagnostic pop
+
 } // namespace GL
 } // namespace Msp