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:
Seungha Yang 2019-08-28 14:50:24 +09:00 committed by Matthew Waters
parent c8d0edfea9
commit e5d06b24b7

View file

@ -42,6 +42,10 @@
#include "gstegl.h"
#include "gstglmemoryegl.h"
#ifndef EGL_DEVICE_EXT
typedef void *EGLDeviceEXT;
#endif
GST_DEBUG_CATEGORY_STATIC (gst_gl_display_debug);
#define GST_CAT_DEFAULT gst_gl_display_debug