diff options
Diffstat (limited to 'Source/Core/DolphinWX/GLInterface/Platform.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/GLInterface/Platform.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -120,6 +120,9 @@ out: } } #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 } |
