aboutsummaryrefslogtreecommitdiffstats
path: root/fb-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb-gui.c')
-rw-r--r--fb-gui.c4
1 files changed, 2 insertions, 2 deletions
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);
}