Skip to content

Commit

Permalink
Comment out eglWaitGL from Android_GLES_SwapWindow
Browse files Browse the repository at this point in the history
Let's hope for the best! If anyone has a device affected by this removal,
please file a bug!
  • Loading branch information
gabomdq committed Apr 17, 2014
1 parent 931cb1a commit 4bb6afe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/video/android/SDL_androidgl.c
Expand Up @@ -41,9 +41,13 @@ SDL_EGL_MakeCurrent_impl(Android)
void
Android_GLES_SwapWindow(_THIS, SDL_Window * window)
{
/* FIXME: These two functions were in the Java code, do we really need them? */
_this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
_this->egl_data->eglWaitGL();
/* The following two calls existed in the original Java code
* If you happen to have a device that's affected by their removal,
* please report to Bugzilla. -- Gabriel
*/

/*_this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
_this->egl_data->eglWaitGL();*/
SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);
}

Expand Down

0 comments on commit 4bb6afe

Please sign in to comment.