egl: Drop _EGL_MAIN entrypoint obfuscation.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
8ffb098234
commit
9f0f00c319
|
@ -32,7 +32,6 @@ LOCAL_SRC_FILES := \
|
|||
platform_android.c
|
||||
|
||||
LOCAL_CFLAGS := \
|
||||
-D_EGL_MAIN=_eglBuiltInDriverDRI2 \
|
||||
-DDEFAULT_DRIVER_DIR=\"/system/lib/dri\" \
|
||||
-DHAVE_SHARED_GLAPI \
|
||||
-DHAVE_ANDROID_PLATFORM
|
||||
|
|
|
@ -18,7 +18,6 @@ EGL_INCLUDES = \
|
|||
|
||||
EGL_LIBS = $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB)
|
||||
|
||||
EGL_CFLAGS = -D_EGL_MAIN=_eglBuiltInDriverDRI2
|
||||
EGL_BUILTIN = true
|
||||
|
||||
ifeq ($(SHARED_GLAPI),1)
|
||||
|
|
|
@ -1408,7 +1408,7 @@ dri2_load(_EGLDriver *drv)
|
|||
* Create a new _EGLDriver object and init its dispatch table.
|
||||
*/
|
||||
_EGLDriver *
|
||||
_EGL_MAIN(const char *args)
|
||||
_eglBuiltInDriverDRI2(const char *args)
|
||||
{
|
||||
struct dri2_egl_driver *dri2_drv;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue