diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-23 16:16:32 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-23 16:16:32 +0100 |
commit | a80c7e0c5a22c303bc24c97f01f61466eb94b03e (patch) | |
tree | a2d713ec50cddada4737be9ffe0f39a2e0e233f1 /fb-gui.c | |
parent | 3da80cb1474b455f4ed3d27aa72441fd145a9898 (diff) | |
download | fbida-a80c7e0c5a22c303bc24c97f01f61466eb94b03e.tar.gz |
gfx: move over memory pointer
Diffstat (limited to 'fb-gui.c')
-rw-r--r-- | fb-gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |