src/video/x11/SDL_x11opengles.h
changeset 6190 519380462400
parent 6188 e82023802002
child 6370 93187f7f7d5d
     1.1 --- a/src/video/x11/SDL_x11opengles.h	Fri Aug 26 13:23:40 2011 +0100
     1.2 +++ b/src/video/x11/SDL_x11opengles.h	Sun Jan 08 13:31:22 2012 -0500
     1.3 @@ -37,13 +37,14 @@
     1.4      EGLContext egl_context;     /* Current GLES context */
     1.5      EGLSurface egl_surface;
     1.6      EGLConfig egl_config;
     1.7 +    int egl_swapinterval;
     1.8  
     1.9        EGLDisplay(*eglGetDisplay) (NativeDisplayType display);
    1.10        EGLBoolean(*eglInitialize) (EGLDisplay dpy, EGLint * major,
    1.11                                    EGLint * minor);
    1.12        EGLBoolean(*eglTerminate) (EGLDisplay dpy);
    1.13  
    1.14 -    void *(*eglGetProcAddress) (const GLubyte * procName);
    1.15 +    void *(*eglGetProcAddress) (const char * procName);
    1.16  
    1.17        EGLBoolean(*eglChooseConfig) (EGLDisplay dpy,
    1.18                                      const EGLint * attrib_list,
    1.19 @@ -68,6 +69,8 @@
    1.20  
    1.21        EGLBoolean(*eglSwapBuffers) (EGLDisplay dpy, EGLSurface draw);
    1.22  
    1.23 +      EGLBoolean(*eglSwapInterval) (EGLDisplay dpy, EGLint interval);
    1.24 +
    1.25      const char *(*eglQueryString) (EGLDisplay dpy, EGLint name);
    1.26  
    1.27        EGLBoolean(*eglGetConfigAttrib) (EGLDisplay dpy, EGLConfig config,