summaryrefslogtreecommitdiff
path: root/src/egl/drivers/glx
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-02-05 07:01:17 +0100
committerEric Anholt <eric@anholt.net>2012-02-29 11:52:40 -0800
commit9f0f00c319a18ec2e9f022482fa11990e682c1d7 (patch)
treef039c16fb0f218ee0f2e39db3066ce4579a2298a /src/egl/drivers/glx
parent8ffb098234fbc3d2e3c8b3db6912dec9ea7a65eb (diff)
egl: Drop _EGL_MAIN entrypoint obfuscation.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/egl/drivers/glx')
-rw-r--r--src/egl/drivers/glx/Makefile1
-rw-r--r--src/egl/drivers/glx/egl_glx.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/egl/drivers/glx/Makefile b/src/egl/drivers/glx/Makefile
index a1e6b731fe9..1625e031bd9 100644
--- a/src/egl/drivers/glx/Makefile
+++ b/src/egl/drivers/glx/Makefile
@@ -13,7 +13,6 @@ EGL_INCLUDES = \
EGL_CFLAGS = $(X11_CFLAGS)
EGL_LIBS = $(X11_LIBS) $(DLOPEN_LIBS)
-EGL_CFLAGS += -D_EGL_MAIN=_eglBuiltInDriverGLX
EGL_BUILTIN = true
include ../Makefile.template
diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c
index e07ce90a9a8..607185354f2 100644
--- a/src/egl/drivers/glx/egl_glx.c
+++ b/src/egl/drivers/glx/egl_glx.c
@@ -1147,7 +1147,7 @@ fail:
* Create a new _EGLDriver object and init its dispatch table.
*/
_EGLDriver *
-_EGL_MAIN(const char *args)
+_eglBuiltInDriverGLX(const char *args)
{
struct GLX_egl_driver *GLX_drv = CALLOC_STRUCT(GLX_egl_driver);