It is not used anymore.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
_EGLDisplay *dpy = (_EGLDisplay *) calloc(1, sizeof(_EGLDisplay));
if (dpy) {
dpy->NativeDisplay = nativeDisplay;
-#if defined(_EGL_PLATFORM_X)
- dpy->Xdpy = (Display *) nativeDisplay;
-#endif
dpy->DriverName = _eglPreloadDriver(dpy);
if (!dpy->DriverName) {
#ifndef EGLDISPLAY_INCLUDED
#define EGLDISPLAY_INCLUDED
-#ifdef _EGL_PLATFORM_X
-#include <X11/Xlib.h>
-#endif
-
#include "egltypedefs.h"
#include "egldefines.h"
#include "eglcontext.h"
/* lists of linked contexts and surface */
_EGLContext *ContextList;
_EGLSurface *SurfaceList;
-
-#ifdef _EGL_PLATFORM_X
- Display *Xdpy;
-#endif
};