gl: Add GST_GL_DEPRECATED

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1764>
This commit is contained in:
Sebastian Dröge 2022-02-21 15:02:02 +02:00 committed by GStreamer Marge Bot
parent 8ab1c5791b
commit 6d83665d7a

View file

@ -30,4 +30,12 @@
#define GST_GL_API GST_API_IMPORT
#endif
#ifndef GST_DISABLE_DEPRECATED
#define GST_GL_DEPRECATED GST_GL_API
#define GST_GL_DEPRECATED_FOR(f) GST_GL_API
#else
#define GST_GL_DEPRECATED G_DEPRECATED GST_GL_API
#define GST_GL_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_GL_API
#endif
#endif /* __GST_GL_PRELUDE_H__ */