diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-16 15:56:48 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-16 15:56:48 +0100 |
commit | 3c61db33ffc94ee194dd0111a332762199334d37 (patch) | |
tree | dc321eb5f1e94974a62009abb36cd3111256ed70 /atari/plot/font_internal.c | |
parent | ad18ef5db99eb38075e6e49246b097a8ba727ab8 (diff) | |
download | netsurf-3c61db33ffc94ee194dd0111a332762199334d37.tar.gz netsurf-3c61db33ffc94ee194dd0111a332762199334d37.tar.bz2 |
Convert atari frontend to use bitmap operation table
Diffstat (limited to 'atari/plot/font_internal.c')
-rw-r--r-- | atari/plot/font_internal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atari/plot/font_internal.c b/atari/plot/font_internal.c index 0a8619f38..427444d2b 100644 --- a/atari/plot/font_internal.c +++ b/atari/plot/font_internal.c @@ -95,7 +95,7 @@ int ctor_font_plotter_internal( FONT_PLOTTER self ) LOG(("%s: %s\n", (char*)__FILE__, __FUNCTION__));
if( !init ) {
vdih = self->vdi_handle;
- fontbmp = bitmap_create(48, 48, 0);
+ fontbmp = atari_bitmap_create(48, 48, 0);
fontbmp->opaque = false;
}
init = true;
@@ -164,8 +164,8 @@ static void draw_glyph1(FONT_PLOTTER self, GRECT *inloc, uint8_t *chrp, int pitc uint32_t * linebuf;
GRECT loc = *inloc;
- fontbmp = bitmap_realloc( loc.g_w, loc.g_h, fontbmp->bpp, loc.g_w * fontbmp->bpp, BITMAP_GROW, fontbmp );
- bmpstride = bitmap_get_rowstride(fontbmp);
+ fontbmp = atari_bitmap_realloc( loc.g_w, loc.g_h, fontbmp->bpp, loc.g_w * fontbmp->bpp, BITMAP_GROW, fontbmp );
+ bmpstride = atari_bitmap_get_rowstride(fontbmp);
for( yloop = 0; yloop < loc.g_h; yloop++) {
uint32_t pixmask = 1 ;
linebuf = (uint32_t *)(fontbmp->pixdata + (bmpstride * yloop));
|