mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-19 11:27:09 +00:00
egl: fix function prototype for eglGetPlatformDisplay
The EGL 1.5 specification says that eglGetPlatformDisplay (unlike eglGetPlatformDisplayExt) takes an EGLAttrib* rather than EGLint* for the attribute list.
This commit is contained in:
@@ -46,7 +46,7 @@ typedef struct SDL_EGL_VideoData
|
||||
EGLDisplay(EGLAPIENTRY *eglGetDisplay) (NativeDisplayType display);
|
||||
EGLDisplay(EGLAPIENTRY *eglGetPlatformDisplay) (EGLenum platform,
|
||||
void *native_display,
|
||||
const EGLint *attrib_list);
|
||||
const EGLAttrib *attrib_list);
|
||||
EGLDisplay(EGLAPIENTRY *eglGetPlatformDisplayEXT) (EGLenum platform,
|
||||
void *native_display,
|
||||
const EGLint *attrib_list);
|
||||
|
||||
Reference in New Issue
Block a user