summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-05-28 11:40:41 +0200
committerJakob Bornecrantz <[email protected]>2008-05-28 10:55:26 +0100
commitb870bf79b5387f26668285f44ccbf5812ad62e10 (patch)
tree8b8b59cac42c4b8f330fb59aba19735c5525dca2
parent68ff873c20a6e32eef0fa4c6d259a5a415308be5 (diff)
egl: Temporarily disable eglx.[c|h] building
-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 4fb0344e63f..5f3d65f72a8 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 50c466c2582..cbdd47948db 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";