diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk index 528b983dd..7328a1d01 100644 --- a/opengl/libs/Android.mk +++ b/opengl/libs/Android.mk @@ -48,7 +48,7 @@ LOCAL_CFLAGS += -DEGL_TRACE=1 ifeq ($(BOARD_ALLOW_EGL_HIBERNATION),true) LOCAL_CFLAGS += -DBOARD_ALLOW_EGL_HIBERNATION endif -ifeq ($(TARGET_BOARD_PLATFORM), omap4) +ifneq ($(filter omap3 omap4,$(TARGET_BOARD_PLATFORM)),) LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1 endif ifneq ($(MAX_EGL_CACHE_ENTRY_SIZE),)