mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 22:23:31 +00:00
Add fallback definition for EGLuint64KHR
This commit is contained in:
@@ -40,6 +40,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEPROC) (EGLDisplay dpy, EGLIma
|
|||||||
typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
|
typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EGL_KHR_stream
|
||||||
|
typedef uint64_t EGLuint64KHR;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(EGL_KHR_image) || !defined(EGL_EGLEXT_PROTOTYPES)
|
#if !defined(EGL_KHR_image) || !defined(EGL_EGLEXT_PROTOTYPES)
|
||||||
// EGL_KHR_image technically uses EGLImageKHR instead of EGLImage, but they're compatible
|
// EGL_KHR_image technically uses EGLImageKHR instead of EGLImage, but they're compatible
|
||||||
// so we swap them here to avoid mixing them all over the place
|
// so we swap them here to avoid mixing them all over the place
|
||||||
|
|||||||
Reference in New Issue
Block a user