EGL: Fix android build broken by last commit

This commit is contained in:
Scott Moreau
2014-01-23 19:41:07 -07:00
parent d4ff195cad
commit 202054708b
5 changed files with 7 additions and 8 deletions

View File

@ -30,7 +30,7 @@ bool cXInterface::ServerConnect(void)
return true;
}
bool cXInterface::Initialize(void *config)
bool cXInterface::Initialize(void *config, void *window_handle)
{
int _tx, _ty, _twidth, _theight;
XVisualInfo visTemplate;
@ -63,6 +63,7 @@ bool cXInterface::Initialize(void *config)
GLWin.height = _theight;
GLWin.evdpy = XOpenDisplay(NULL);
GLWin.parent = (Window) window_handle;
GLWin.screen = DefaultScreen(GLWin.dpy);
if (GLWin.parent == 0)