Skip to content

Commit

Permalink
Fix Android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored and kevingranade committed Apr 27, 2020
1 parent 43adeb0 commit d58288f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdltiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2327,9 +2327,9 @@ void draw_quick_shortcuts()
SDL_RenderSetScale( renderer.get(), text_scale, text_scale );
text_x = ( WindowWidth - ( ( font->fontwidth * hint_length ) * text_scale ) ) * 0.5f / text_scale;
text_y = ( WindowHeight - font->fontheight * text_scale ) * 0.5f / text_scale;
font->OutputChar( hint_text, text_x + 1, text_y + 1, 0,
font->OutputChar( hint_text, point( text_x + 1, text_y + 1 ), 0,
get_option<int>( "ANDROID_SHORTCUT_OPACITY_SHADOW" ) * 0.01f );
font->OutputChar( hint_text, text_x, text_y, get_option<int>( "ANDROID_SHORTCUT_COLOR" ),
font->OutputChar( hint_text, point( text_x, text_y ), get_option<int>( "ANDROID_SHORTCUT_COLOR" ),
get_option<int>( "ANDROID_SHORTCUT_OPACITY_FG" ) * 0.01f );
}
}
Expand Down

0 comments on commit d58288f

Please sign in to comment.