src/video/android/SDL_androidgl.c
changeset 7722 ea5565d856a8
parent 7659 ac4ce59c40e7
child 8021 f96e12e0ade9
equal deleted inserted replaced
7721:bdf8c2c84e14 7722:ea5565d856a8
    36 #include <dlfcn.h>
    36 #include <dlfcn.h>
    37 
    37 
    38 SDL_EGL_CreateContext_impl(Android)
    38 SDL_EGL_CreateContext_impl(Android)
    39 SDL_EGL_MakeCurrent_impl(Android)
    39 SDL_EGL_MakeCurrent_impl(Android)
    40 
    40 
       
    41 void
    41 Android_GLES_SwapWindow(_THIS, SDL_Window * window)
    42 Android_GLES_SwapWindow(_THIS, SDL_Window * window)
    42 {
    43 {
    43     /* FIXME: These two functions were in the Java code, do we really need them? */
    44     /* FIXME: These two functions were in the Java code, do we really need them? */
    44     _this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
    45     _this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
    45     _this->egl_data->eglWaitGL();
    46     _this->egl_data->eglWaitGL();