summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-08-26 16:06:39 +0800
committerBrian Paul <brianp@vmware.com>2009-08-26 16:40:22 -0600
commite1d978775f982a450bd84588a4f9567d6bbccebd (patch)
treebfa5b520c8ae8f7a8621417a571ad4194e5c8b27
parentf5a06fad62cd43d7854bafa60bbe6f48e8cf90af (diff)
downloadexternal_mesa3d-e1d978775f982a450bd84588a4f9567d6bbccebd.zip
external_mesa3d-e1d978775f982a450bd84588a4f9567d6bbccebd.tar.gz
external_mesa3d-e1d978775f982a450bd84588a4f9567d6bbccebd.tar.bz2
egl: Remove Xdpy from EGLDisplay.
It is not used anymore. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
-rw-r--r--src/egl/main/egldisplay.c3
-rw-r--r--src/egl/main/egldisplay.h8
2 files changed, 0 insertions, 11 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c
index 2c271ef..896d60d 100644
--- a/src/egl/main/egldisplay.c
+++ b/src/egl/main/egldisplay.c
@@ -81,9 +81,6 @@ _eglNewDisplay(NativeDisplayType nativeDisplay)
_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) {
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index c7a41cd..6575fdf 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -1,10 +1,6 @@
#ifndef EGLDISPLAY_INCLUDED
#define EGLDISPLAY_INCLUDED
-#ifdef _EGL_PLATFORM_X
-#include <X11/Xlib.h>
-#endif
-
#include "egltypedefs.h"
#include "egldefines.h"
#include "eglcontext.h"
@@ -54,10 +50,6 @@ struct _egl_display
/* lists of linked contexts and surface */
_EGLContext *ContextList;
_EGLSurface *SurfaceList;
-
-#ifdef _EGL_PLATFORM_X
- Display *Xdpy;
-#endif
};