Merge Platform.h into GLInterface.h

This commit is contained in:
Scott Moreau
2014-01-19 19:06:55 -07:00
parent 75020b9b51
commit 4b3c338930
8 changed files with 101 additions and 188 deletions

View File

@ -74,7 +74,11 @@ bool cXInterface::Initialize(void *config)
void *cXInterface::EGLGetDisplay(void)
{
#if HAVE_WAYLAND
return eglGetDisplay((wl_display *) GLWin.dpy);
#else
return eglGetDisplay(GLWin.dpy);
#endif
}
void *cXInterface::CreateWindow(void)