Comment out eglWaitGL from Android_GLES_SwapWindow
authorGabriel Jacobo <gabomdq@gmail.com>
Thu, 17 Apr 2014 12:44:08 -0300
changeset 8700446c4e870681
parent 8699 aceb720ddd4b
child 8701 cb93e566a0c4
Comment out eglWaitGL from Android_GLES_SwapWindow

Let's hope for the best! If anyone has a device affected by this removal,
please file a bug!
src/video/android/SDL_androidgl.c
     1.1 --- a/src/video/android/SDL_androidgl.c	Sat Apr 12 17:40:55 2014 -0400
     1.2 +++ b/src/video/android/SDL_androidgl.c	Thu Apr 17 12:44:08 2014 -0300
     1.3 @@ -41,9 +41,13 @@
     1.4  void
     1.5  Android_GLES_SwapWindow(_THIS, SDL_Window * window)
     1.6  {
     1.7 -    /* FIXME: These two functions were in the Java code, do we really need them? */
     1.8 -    _this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
     1.9 -    _this->egl_data->eglWaitGL();
    1.10 +    /* The following two calls existed in the original Java code
    1.11 +     * If you happen to have a device that's affected by their removal,
    1.12 +     * please report to Bugzilla. -- Gabriel
    1.13 +     */
    1.14 +    
    1.15 +    /*_this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
    1.16 +    _this->egl_data->eglWaitGL();*/
    1.17      SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);
    1.18  }
    1.19