aboutsummaryrefslogtreecommitdiffstats
path: root/fb-gui.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-23 16:16:32 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-23 16:16:32 +0100
commita80c7e0c5a22c303bc24c97f01f61466eb94b03e (patch)
treea2d713ec50cddada4737be9ffe0f39a2e0e233f1 /fb-gui.c
parent3da80cb1474b455f4ed3d27aa72441fd145a9898 (diff)
downloadfbida-a80c7e0c5a22c303bc24c97f01f61466eb94b03e.tar.gz
gfx: move over memory pointer
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);
}