gtk4: fix build on Windows using winegl

from_glib_full() was not in scope.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1417>
This commit is contained in:
Guillaume Desmottes 2023-12-26 19:15:15 +01:00
parent 17f0b61576
commit d9397ef174

View file

@ -963,6 +963,7 @@ impl PaintableSink {
// FIXME: bindings
unsafe {
use gdk_win32::prelude::*;
use glib::translate::*;
let d = display.downcast::<gdk_win32::Win32Display>().unwrap();
let egl_display = d.egl_display().unwrap().as_ptr();