• Sam Lantinga's avatar
    X11 OpenGL ES minor corrections · f7ad18f9
    Sam Lantinga authored
    Scott Percival 2012-01-08 04:21:22 PST
    
    I tested the new build on my two ARM machines, and fixed a few bugs:
    - if SDL_VIDEO_DRIVER_UIKIT, SDL_VIDEO_DRIVER_ANDROID or
    SDL_VIDEO_DRIVER_PANDORA are specified, function pointers are grabbed from the
    compile-linked library instead of through SDL_GL_GetProcAddress. (not sure if
    this is the best way to go about it)
    - removing "/usr/lib/" from all the library names (hey, with multiarch you
    can't be too sure anymore)
    - added glFinish to glesfuncs.h
    - changed the eglGetProcAddress arg type to "const char *" as per the EGL spec
    - filled in the stubs for X11_GLES_SetSwapInterval and X11_GLES_GetSwapInterval
    f7ad18f9
SDL_x11opengles.h 3.84 KB