summaryrefslogtreecommitdiff
path: root/gui/gui.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 14:07:45 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 14:19:21 -0300
commitbd9943d473ab96c5d37b0944ed33a1f6766d62e5 (patch)
tree59f27d8fa71f981928293bc8e55e7c0415d08db2 /gui/gui.c
parentc58e2ecd39de8f433c787a8feb558509e664ac88 (diff)
downloadeeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.tar.gz
eeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.tar.bz2
eeshow-bd9943d473ab96c5d37b0944ed33a1f6766d62e5.zip
remove global gfx state (pass context as argument)
Diffstat (limited to 'gui/gui.c')
-rw-r--r--gui/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 2b3e001..5587c4f 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -169,7 +169,7 @@ static struct gui_sheet *get_sheets(struct gui_ctx *ctx, struct gui_hist *hist,
new->sch = sheet;
new->ctx = ctx;
new->hist = hist;
- new->gfx_ctx_thumb = NULL;
+ new->gfx_thumb = NULL;
new->thumb_surf = NULL;
new->rendered = 0;