]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Suppress some deprecation warnings from internal use
[libs/gl.git] / source / program.h
index 2906fc11ffb333d5cae42532130875ab171ad232..faaf2ac4c081c8fcadc84e366244eda74fe1a55c 100644 (file)
@@ -86,8 +86,11 @@ public:
        /// 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 &);