Fix i686 build
This commit is contained in:
parent
8433f38e3f
commit
721effc0d9
|
@ -0,0 +1,13 @@
|
|||
diff --git a/libobs-opengl/gl-egl-common.c b/libobs-opengl/gl-egl-common.c
|
||||
index f06cd19..023068f 100644
|
||||
--- a/libobs-opengl/gl-egl-common.c
|
||||
+++ b/libobs-opengl/gl-egl-common.c
|
||||
@@ -373,7 +373,7 @@ bool gl_egl_query_dmabuf_modifiers_for_format(EGLDisplay egl_display,
|
||||
return false;
|
||||
}
|
||||
if (!query_dmabuf_modifiers(egl_display, drm_format, modifiers,
|
||||
- n_modifiers)) {
|
||||
+ (EGLuint64KHR*)n_modifiers)) {
|
||||
*n_modifiers = 0;
|
||||
*modifiers = NULL;
|
||||
return false;
|
|
@ -69,6 +69,9 @@ Patch0103: 0103-UI-Add-support-for-OpenH264-as-the-worst-case-fallba.patch
|
|||
Patch1001: obs-studio-30-cmake-3.20.patch
|
||||
## Use fdk-aac by default
|
||||
Patch1002: obs-studio-UI-use-fdk-aac-by-default.patch
|
||||
## Fix error: passing argument 4 of ‘query_dmabuf_modifiers’ from
|
||||
## incompatible pointer type [-Wincompatible-pointer-types]
|
||||
Patch1003: obs-studio-fix-incompatible-pointer-type.patch
|
||||
|
||||
|
||||
BuildRequires: gcc
|
||||
|
|
Loading…
Reference in New Issue