src/video/SDL_egl.c
changeset 11718 3006dd42e4db
parent 11677 aed6a9ff3c99
child 11719 a4477243eb20
     1.1 --- a/src/video/SDL_egl.c	Tue Nov 28 18:31:18 2017 -0800
     1.2 +++ b/src/video/SDL_egl.c	Sun Dec 03 20:25:55 2017 -0800
     1.3 @@ -261,7 +261,7 @@
     1.4  #endif
     1.5  
     1.6      if (_this->egl_data) {
     1.7 -        return SDL_SetError("OpenGL ES context already created");
     1.8 +        return SDL_SetError("EGL context already created");
     1.9      }
    1.10  
    1.11      _this->egl_data = (struct SDL_EGL_VideoData *) SDL_calloc(1, sizeof(SDL_EGL_VideoData));
    1.12 @@ -375,6 +375,7 @@
    1.13      LOAD_FUNC(eglGetConfigAttrib);
    1.14      LOAD_FUNC(eglCreateContext);
    1.15      LOAD_FUNC(eglDestroyContext);
    1.16 +    LOAD_FUNC(eglCreatePBufferSurface);
    1.17      LOAD_FUNC(eglCreateWindowSurface);
    1.18      LOAD_FUNC(eglDestroySurface);
    1.19      LOAD_FUNC(eglMakeCurrent);