mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-02 13:29:50 +00:00
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/1457>
This commit is contained in:
parent
5bba2f7836
commit
cb906a9d55
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue