gtk4: Fix compilation after gst_gl::Display API changes

This commit is contained in:
Sebastian Dröge 2023-01-27 20:46:22 +02:00
parent abe4efc4a2
commit 62bfc545d3

View file

@ -732,7 +732,7 @@ impl PaintableSink {
"Successfully deactivated GL Context after fill_info"
);
let gst_context = match display.create_context(app_ctx) {
let gst_context = match display.create_context(Some(app_ctx)) {
Ok(gst_context) => gst_context,
Err(err) => {
gst::error!(CAT, imp: self, "Could not create GL context: {err}");