mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
EGL: Fix android build broken by last commit
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user