From 67950e101e531c32d9b7907ebbe468070a9b58b2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 3 Dec 2017 20:27:08 -0800 Subject: [PATCH] Fixed name of eglCreatePbufferSurface function --- src/video/SDL_egl.c | 2 +- src/video/SDL_egl_c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c index e1a1add15..eb14fbcae 100644 --- a/src/video/SDL_egl.c +++ b/src/video/SDL_egl.c @@ -375,7 +375,7 @@ SDL_EGL_LoadLibrary(_THIS, const char *egl_path, NativeDisplayType native_displa LOAD_FUNC(eglGetConfigAttrib); LOAD_FUNC(eglCreateContext); LOAD_FUNC(eglDestroyContext); - LOAD_FUNC(eglCreatePBufferSurface); + LOAD_FUNC(eglCreatePbufferSurface); LOAD_FUNC(eglCreateWindowSurface); LOAD_FUNC(eglDestroySurface); LOAD_FUNC(eglMakeCurrent); diff --git a/src/video/SDL_egl_c.h b/src/video/SDL_egl_c.h index dc16e00ec..0b8c9a23c 100644 --- a/src/video/SDL_egl_c.h +++ b/src/video/SDL_egl_c.h @@ -62,7 +62,7 @@ typedef struct SDL_EGL_VideoData EGLBoolean(EGLAPIENTRY *eglDestroyContext) (EGLDisplay dpy, EGLContext ctx); - EGLSurface(EGLAPIENTRY *eglCreatePBufferSurface)(EGLDisplay dpy, EGLConfig config, + EGLSurface(EGLAPIENTRY *eglCreatePbufferSurface)(EGLDisplay dpy, EGLConfig config, EGLint const* attrib_list); EGLSurface(EGLAPIENTRY *eglCreateWindowSurface) (EGLDisplay dpy,