diff --git a/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp b/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp index 0f79bbcb..c1e51b52 100644 --- a/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp +++ b/GLideN64/src/Graphics/OpenGLContext/opengl_GLInfo.cpp @@ -229,6 +229,11 @@ void GLInfo::init() { eglImageFramebuffer = eglImage && !isGLES2; +#ifdef WEBOS + eglImage = false; + eglImageFramebuffer = false; +#endif + if (config.frameBufferEmulation.N64DepthCompare != Config::dcDisable) { if (config.frameBufferEmulation.N64DepthCompare == Config::dcFast) { if (!imageTexturesInterlock && !n64DepthWithFbFetch) { diff --git a/Makefile b/Makefile index a8170545..2443f80e 100644 --- a/Makefile +++ b/Makefile @@ -614,8 +614,15 @@ ifneq (,$(or $(findstring webos,$(CROSS_COMPILE)),$(findstring starfish,$(CROSS_ # default to GLES v2 GLES = 1 endif + CPUFLAGS += -DWEBOS GL_LIB := -lGLESv2 - HAVE_NEON = 1 + ifneq (,$(findstring aarch64,$(CROSS_COMPILE))) + WITH_DYNAREC=aarch64 + HAVE_NEON = 0 + else + WITH_DYNAREC=arm + HAVE_NEON = 1 + endif endif ifeq ($(STATIC_LINKING), 1)