From 33f904fa1ec32e218113742201411fc0349c773b Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 4 Aug 2016 07:07:52 -0700 Subject: [PATCH] provide no-op implementations of new draw methods --- xwords4/android/XWords4/jni/drawwrapper.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xwords4/android/XWords4/jni/drawwrapper.c b/xwords4/android/XWords4/jni/drawwrapper.c index bf27944c1..94bde3d17 100644 --- a/xwords4/android/XWords4/jni/drawwrapper.c +++ b/xwords4/android/XWords4/jni/drawwrapper.c @@ -348,6 +348,10 @@ and_draw_drawTimer( DrawCtx* dctx, const XP_Rect* rect, XP_U16 player, } } +/* Not used on android yet */ +static void and_draw_beginDraw( DrawCtx* XP_UNUSED(dctx) ) {} +static void and_draw_endDraw( DrawCtx* XP_UNUSED(dctx) ) {} + static XP_Bool and_draw_boardBegin( DrawCtx* dctx, const XP_Rect* rect, XP_U16 cellWidth, XP_U16 cellHeight, @@ -613,6 +617,8 @@ makeDraw( MPFORMAL EnvThreadInfo* ti, jobject jdraw ) } #define SET_PROC(nam) draw->vtable->m_draw_##nam = and_draw_##nam + SET_PROC(beginDraw); + SET_PROC(endDraw); SET_PROC(boardBegin); SET_PROC(scoreBegin); #ifdef XWFEATURE_SCOREONEPASS