(Android) Add null_fonts, libretroarch links now

This commit is contained in:
Twinaphex 2012-09-10 02:02:30 +02:00
parent e6303c9615
commit fb1853654b
2 changed files with 39 additions and 0 deletions

View File

@ -164,6 +164,8 @@ FONTS
#include "../../gfx/fonts/xdk1_xfonts.c"
#elif defined(_XBOX360)
#include "../../gfx/fonts/xdk360_fonts.cpp"
#elif defined(ANDROID)
#include "../../gfx/fonts/null_fonts.c"
#endif
/*============================================================

37
gfx/fonts/null_fonts.c Normal file
View File

@ -0,0 +1,37 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
* Copyright (C) 2011-2012 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../gl_common.h"
void gl_init_font(gl_t *gl, const char *font_path, unsigned font_size)
{
(void)font_path;
(void)font_size;
}
void gl_deinit_font(gl_t *gl)
{
}
void gl_render_msg(void *data, const char *msg)
{
(void)data;
}
void gl_render_msg_place(void *data, float x, float y, float scale, uint32_t color, const char *msg)
{
(void)data;
}