# HG changeset patch # User reimar # Date 1368083928 0 # Node ID 868f3a141dcaa5142ed9cd50cfecee059abbc128 # Parent 056cd00eba14aed5127c7668b941da4c6b2eb1d1 Support -wid on Android. diff -r 056cd00eba14 -r 868f3a141dca libvo/gl_common.c --- 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)