changeset 36157:868f3a141dca

Support -wid on Android.
author reimar
date Thu, 09 May 2013 07:18:48 +0000
parents 056cd00eba14
children 749f1c5c4267
files libvo/gl_common.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Thu May 09 07:18:47 2013 +0000
+++ b/libvo/gl_common.c	Thu May 09 07:18:48 2013 +0000
@@ -2433,6 +2433,8 @@
     vo_screenheight = vo_dheight = h;
     return SET_WINDOW_OK;
   }
+  if (WinID != -1)
+    vo_window = (EGLNativeWindowType)(intptr_t)WinID;
   if (!vo_window)
     vo_window = android_createDisplaySurface();
   if (!vo_window)