diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-17 13:51:40 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-17 13:51:40 -0500 |
| commit | f78600ec9e3789756fb779e47435efd76125e13d (patch) | |
| tree | b057ff4bbb0a43b328e82d4aca3fc7be67f3b09f /Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp | |
| parent | 5fce33f91857e0ae2d551c67fd0971622362783a (diff) | |
| parent | b94dbca160d7a7d0308d4e8d4ff7613f9e6238b1 (diff) | |
Merge pull request #1562 from lioncash/host
Host: Kill off GetRenderWindowSize
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp b/Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp index f6c567ee6c..922bf965db 100644 --- a/Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp +++ b/Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp @@ -16,8 +16,8 @@ EGLNativeWindowType cInterfaceEGLAndroid::InitializePlatform(EGLNativeWindowType eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format); ANativeWindow_setBuffersGeometry(host_window, 0, 0, format); - int none, width, height; - Host_GetRenderWindowSize(none, none, width, height); + const int width = ANativeWindow_getWidth(host_window); + const int height = ANativeWindow_getHeight(host_window); GLInterface->SetBackBufferDimensions(width, height); return host_window; |
