mirror of https://github.com/encounter/SDL.git
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!
This commit is contained in:
parent
931cb1a460
commit
4bb6afefa2
|
@ -41,9 +41,13 @@ SDL_EGL_MakeCurrent_impl(Android)
|
||||||
void
|
void
|
||||||
Android_GLES_SwapWindow(_THIS, SDL_Window * window)
|
Android_GLES_SwapWindow(_THIS, SDL_Window * window)
|
||||||
{
|
{
|
||||||
/* FIXME: These two functions were in the Java code, do we really need them? */
|
/* The following two calls existed in the original Java code
|
||||||
_this->egl_data->eglWaitNative(EGL_CORE_NATIVE_ENGINE);
|
* If you happen to have a device that's affected by their removal,
|
||||||
_this->egl_data->eglWaitGL();
|
* 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);
|
SDL_EGL_SwapBuffers(_this, ((SDL_WindowData *) window->driverdata)->egl_surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue