summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/GLInterface
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-15 00:11:09 -0500
committerLioncash <mathew1800@gmail.com>2014-11-17 13:44:49 -0500
commitb94dbca160d7a7d0308d4e8d4ff7613f9e6238b1 (patch)
tree8f2e562e6b311cac31531df17bbf1a4f346c81ba /Source/Core/VideoBackends/OGL/GLInterface
parentaa2fc1f66b768420fcb6958948572f0faa89986d (diff)
Host: Kill off GetRenderWindowSize
Diffstat (limited to 'Source/Core/VideoBackends/OGL/GLInterface')
-rw-r--r--Source/Core/VideoBackends/OGL/GLInterface/EGLAndroid.cpp4
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;