Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e55efa7c authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

libEGL: Make vendor extensions a device option

Having these hardwired is breaking libEGL on OMAP4.
To avoid breaking compatibility, default it to true

Change-Id: Ie8a8999aadef0d6d6b0f696115d145a460f3fbe7
parent 7724d343
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13,6 +13,10 @@ LOCAL_SRC_FILES:= \
	EGL/Loader.cpp 	       \
#

ifneq ($(TARGET_USES_GL_VENDOR_EXTENSIONS),false)
    LOCAL_CFLAGS += -DENABLE_VENDOR_EXTENSIONS
endif

LOCAL_SHARED_LIBRARIES += libcutils libutils
LOCAL_LDLIBS := -lpthread -ldl
LOCAL_MODULE:= libEGL
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@
// There's also an extra subtlety with the EGLimage entry points in GL, which
// can't work properly if they're called directly (they have to go through
// a wrapper).
#define ENABLE_VENDOR_EXTENSIONS

#define MAKE_CONFIG(_impl, _index)  ((EGLConfig)(((_impl)<<24) | (_index)))
#define setError(_e, _r) setErrorEtc(__FUNCTION__, __LINE__, _e, _r)