mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
egldevice: Fix undeclared type build error
Not all eglext.h defines EGLDeviceEXT type. That's implementation and egl extension version dependent.
This commit is contained in:
parent
c8d0edfea9
commit
e5d06b24b7
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@
|
||||||
#include "gstegl.h"
|
#include "gstegl.h"
|
||||||
#include "gstglmemoryegl.h"
|
#include "gstglmemoryegl.h"
|
||||||
|
|
||||||
|
#ifndef EGL_DEVICE_EXT
|
||||||
|
typedef void *EGLDeviceEXT;
|
||||||
|
#endif
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (gst_gl_display_debug);
|
GST_DEBUG_CATEGORY_STATIC (gst_gl_display_debug);
|
||||||
#define GST_CAT_DEFAULT gst_gl_display_debug
|
#define GST_CAT_DEFAULT gst_gl_display_debug
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue