diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-22 13:24:23 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-23 15:58:47 +0100 |
commit | b2c3d9e7ca40e001d3ee18975427224b726dc4d1 (patch) | |
tree | d113ff85ce07dbd81ae45f8f18b303e8787d26cf /platform/gl/gl-font.c | |
parent | 81109bf17aada37f678b6adbdb9fa8eca1cd3163 (diff) | |
download | mupdf-b2c3d9e7ca40e001d3ee18975427224b726dc4d1.tar.xz |
Compile embedded fonts in separate C files.
Also change unsigned char into const char for embedded data.
Diffstat (limited to 'platform/gl/gl-font.c')
-rw-r--r-- | platform/gl/gl-font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-font.c b/platform/gl/gl-font.c index 9756489e..11430208 100644 --- a/platform/gl/gl-font.c +++ b/platform/gl/gl-font.c @@ -73,8 +73,8 @@ static void clear_font_cache(void) void ui_init_fonts(fz_context *ctx, float pixelsize) { - unsigned char *data; - unsigned int size; + const char *data; + int size; glGenTextures(1, &g_cache_tex); glBindTexture(GL_TEXTURE_2D, g_cache_tex); |