r36253 - trunk/libvo/gl_common.c
9 May
2013
9 May
'13
7:18 a.m.
Author: reimar Date: Thu May 9 09:18:48 2013 New Revision: 36253 Log: Support -wid on Android. Modified: trunk/libvo/gl_common.c Modified: trunk/libvo/gl_common.c ============================================================================== --- trunk/libvo/gl_common.c Thu May 9 09:18:47 2013 (r36252) +++ trunk/libvo/gl_common.c Thu May 9 09:18:48 2013 (r36253) @@ -2433,6 +2433,8 @@ static int setGlWindow_egl(MPGLContext * 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)
4933
Age (days ago)
4933
Last active (days ago)
0 comments
1 participants
participants (1)
-
reimar