egl: Add prelude to re-export new extension trait

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1694>
This commit is contained in:
Sebastian Dröge 2025-04-02 10:36:45 +03:00
parent 092cb6bcbd
commit f56078ca5a

View file

@ -26,3 +26,12 @@ mod auto;
pub use auto::*;
mod gl_display_egl;
// Re-export all the traits in a prelude module, so that applications
// can always "use gst_egl::prelude::*" without getting conflicts
pub mod prelude {
#[doc(hidden)]
pub use gst_gl::prelude::*;
pub use crate::auto::traits::*;
}