Update Android port
* src/image.c (image_create_bitmap_from_data): Fix typo in preprocessor conditionals.
This commit is contained in:
parent
7c504d91d1
commit
ab10d1f663
1 changed files with 3 additions and 1 deletions
|
@ -634,8 +634,10 @@ image_create_bitmap_from_data (struct frame *f, char *bits,
|
|||
dpyinfo->bitmaps[id - 1].width = width;
|
||||
dpyinfo->bitmaps[id - 1].refcount = 1;
|
||||
|
||||
#if defined HAVE_X_WINDOWS && defined HAVE_ANDROID
|
||||
#if defined HAVE_X_WINDOWS || defined HAVE_ANDROID
|
||||
#ifndef ANDROID_STUBIFY
|
||||
dpyinfo->bitmaps[id - 1].pixmap = bitmap;
|
||||
#endif /* ANDROID_STUBIFY */
|
||||
dpyinfo->bitmaps[id - 1].have_mask = false;
|
||||
dpyinfo->bitmaps[id - 1].depth = 1;
|
||||
#ifdef USE_CAIRO
|
||||
|
|
Loading…
Add table
Reference in a new issue