From a80c7e0c5a22c303bc24c97f01f61466eb94b03e Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 23 Mar 2016 16:16:32 +0100 Subject: gfx: move over memory pointer --- fb-gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fb-gui.c') diff --git a/fb-gui.c b/fb-gui.c index 091254a..ac6e2d8 100644 --- a/fb-gui.c +++ b/fb-gui.c @@ -100,7 +100,7 @@ void shadow_render(gfxstate *gfx) for (i = 0; i < sheight; i++, offset += gfx->stride) { if (0 == sdirty[i]) continue; - shadow_render_line(gfx, i, fb_mem + offset, shadow[i]); + shadow_render_line(gfx, i, gfx->mem + offset, shadow[i]); sdirty[i] = 0; } } @@ -566,5 +566,5 @@ FT_Face font_open(char *fcname) void fb_clear_screen(gfxstate *gfx) { if (visible) - fb_memset(fb_mem,0,gfx->stride * gfx->vdisplay); + fb_memset(gfx->mem, 0, gfx->stride * gfx->vdisplay); } -- cgit