gl: Fix all clippy::use_self warnings

This commit is contained in:
Marijn Suijten 2021-04-29 22:52:24 +02:00
parent 28cf8434d0
commit 41f8d00620

View file

@ -14,7 +14,7 @@ impl GLContext {
handle: uintptr_t,
context_type: GLPlatform,
available_apis: GLAPI,
) -> Option<GLContext> {
) -> Option<Self> {
from_glib_full(ffi::gst_gl_context_new_wrapped(
display.as_ref().to_glib_none().0,
handle,