diff --git a/Source/Core/DolphinWX/GLInterface/Platform.cpp b/Source/Core/DolphinWX/GLInterface/Platform.cpp index d020a83fdb..98d0db9441 100644 --- a/Source/Core/DolphinWX/GLInterface/Platform.cpp +++ b/Source/Core/DolphinWX/GLInterface/Platform.cpp @@ -119,6 +119,9 @@ out: XCloseDisplay(GLWin.dpy); } } +#endif +#if ANDROID + selected_platform = EGL_PLATFORM_ANDROID; #endif if (selected_platform == EGL_PLATFORM_NONE) return false; @@ -230,4 +233,7 @@ cPlatform::SwapBuffers() if (cPlatform::platform == EGL_PLATFORM_X11) XInterface.SwapBuffers(); #endif +#if ANDROID + eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf); +#endif }