mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
libobs-opengl: Remove unused function argument
The 'display' variable is unused, and the function is static, so we don't need to carry the parameter.
This commit is contained in:
parent
36f06e07c6
commit
efb3220494
|
@ -215,10 +215,8 @@ gl_egl_create_dmabuf_image(EGLDisplay egl_display, unsigned int width,
|
|||
return texture;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_implicit_dmabuf_modifiers_supported(EGLDisplay egl_display)
|
||||
static inline bool is_implicit_dmabuf_modifiers_supported(void)
|
||||
{
|
||||
UNUSED_PARAMETER(egl_display);
|
||||
return EGL_EXT_image_dma_buf_import > 0;
|
||||
}
|
||||
|
||||
|
@ -260,7 +258,7 @@ bool gl_egl_query_dmabuf_capabilities(EGLDisplay egl_display,
|
|||
{
|
||||
bool ret = false;
|
||||
|
||||
if (is_implicit_dmabuf_modifiers_supported(egl_display)) {
|
||||
if (is_implicit_dmabuf_modifiers_supported()) {
|
||||
*dmabuf_flags = GS_DMABUF_FLAG_IMPLICIT_MODIFIERS_SUPPORTED;
|
||||
ret = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue