summaryrefslogtreecommitdiff
path: root/src/egl
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-28 11:40:41 +0200
committerJakob Bornecrantz <jakob@heavy.lan>2008-05-28 10:55:26 +0100
commitb870bf79b5387f26668285f44ccbf5812ad62e10 (patch)
tree8b8b59cac42c4b8f330fb59aba19735c5525dca2 /src/egl
parent68ff873c20a6e32eef0fa4c6d259a5a415308be5 (diff)
egl: Temporarily disable eglx.[c|h] building
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Makefile7
-rw-r--r--src/egl/main/egldriver.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 4fb0344e63..5f3d65f72a 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -18,7 +18,7 @@ HEADERS = \
eglmode.h \
eglscreen.h \
eglsurface.h \
- eglx.h
+# eglx.h
SOURCES = \
eglapi.c \
@@ -33,12 +33,13 @@ SOURCES = \
eglmode.c \
eglscreen.c \
eglsurface.c \
- eglx.c
+# eglx.c
OBJECTS = $(SOURCES:.c=.o)
-LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
+# Undefined for now
+#LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
.c.o:
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c
index 50c466c258..cbdd47948d 100644
--- a/src/egl/main/egldriver.c
+++ b/src/egl/main/egldriver.c
@@ -16,8 +16,14 @@
#include "eglmode.h"
#include "eglscreen.h"
#include "eglsurface.h"
-#include "eglx.h"
+#if defined(_EGL_PLATFORM_X)
+#include "eglx.h"
+#elif defined(_EGL_PLATFORM_WINDOWS)
+/* XXX to do */
+#elif defined(_EGL_PLATFORM_WINCE)
+/* XXX to do */
+#endif
const char *DefaultDriverName = "demodriver";