1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Re-add GLES 3.x to Android makefile.

Eventually we need to merge this with the EGL version
This commit is contained in:
Francisco Zurita 2017-02-02 01:45:18 -05:00
parent 72da07ac17
commit da315520a6

View File

@ -133,6 +133,23 @@ else ifeq ($(TARGET_ARCH_ABI), x86)
MY_LOCAL_SRC_FILES += $(SRCDIR)/3DMath.cpp
endif
###########
# gles 3.x
###########
include $(CLEAR_VARS)
LOCAL_MODULE := $(MY_LOCAL_MODULE)-gles31
LOCAL_SHARED_LIBRARIES := $(MY_LOCAL_SHARED_LIBRARIES)
LOCAL_STATIC_LIBRARIES := $(MY_LOCAL_STATIC_LIBRARIES)
LOCAL_ARM_MODE := $(MY_LOCAL_ARM_MODE)
LOCAL_C_INCLUDES := $(MY_LOCAL_C_INCLUDES) $(LOCAL_PATH)/GL/
LOCAL_SRC_FILES := $(MY_LOCAL_SRC_FILES)
LOCAL_CFLAGS := $(MY_LOCAL_CFLAGS) -DEGL -DGLES3_1 -DGLESX
LOCAL_CPPFLAGS := $(MY_LOCAL_CPPFLAGS)
LOCAL_LDFLAGS := $(MY_LOCAL_LDFLAGS)
LOCAL_LDLIBS := $(MY_LOCAL_LDLIBS) -lEGL
include $(BUILD_SHARED_LIBRARY)
###########
# EGL
###########