From c9556ccb5eacf7717e62af89d1a367717e2a62fe Mon Sep 17 00:00:00 2001 From: Kra1o5 Date: Wed, 24 Jun 2015 12:19:09 +0200 Subject: Add flag to disable double buffering Some devices don't support double buffering, so add the flag TW_DISABLE_DOUBLE_BUFFERING to disable it Change-Id: Ia9c233fa229ae9c221a6c6f219b216d1753052f4 --- minuitwrp/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'minuitwrp/Android.mk') diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk index f42974413..188de9ded 100644 --- a/minuitwrp/Android.mk +++ b/minuitwrp/Android.mk @@ -52,6 +52,10 @@ ifeq ($(RECOVERY_GRAPHICS_USE_LINELENGTH), true) LOCAL_CFLAGS += -DRECOVERY_GRAPHICS_USE_LINELENGTH endif +ifeq ($(TW_DISABLE_DOUBLE_BUFFERING), true) +LOCAL_CFLAGS += -DTW_DISABLE_DOUBLE_BUFFERING +endif + #Remove the # from the line below to enable event logging #TWRP_EVENT_LOGGING := true ifeq ($(TWRP_EVENT_LOGGING), true) -- cgit v1.2.3