mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
gl: Fix all clippy::use_self warnings
This commit is contained in:
parent
28cf8434d0
commit
41f8d00620
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ impl GLContext {
|
||||||
handle: uintptr_t,
|
handle: uintptr_t,
|
||||||
context_type: GLPlatform,
|
context_type: GLPlatform,
|
||||||
available_apis: GLAPI,
|
available_apis: GLAPI,
|
||||||
) -> Option<GLContext> {
|
) -> Option<Self> {
|
||||||
from_glib_full(ffi::gst_gl_context_new_wrapped(
|
from_glib_full(ffi::gst_gl_context_new_wrapped(
|
||||||
display.as_ref().to_glib_none().0,
|
display.as_ref().to_glib_none().0,
|
||||||
handle,
|
handle,
|
||||||
|
|
Loading…
Reference in a new issue