summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/gui.c4
-rwxr-xr-xamiga/plotters.c1
-rwxr-xr-xamiga/plotters.h1
-rw-r--r--amiga/print.c1
4 files changed, 0 insertions, 7 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index d4352a9f1..6df689e6e 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -564,7 +564,6 @@ static void gui_init2(int argc, char** argv)
notalreadyrunning = ami_arexx_init();
/* Treeview init code ends up calling a font function which needs this */
- browserglob.scale = 1.0;
glob = &browserglob;
/**/
@@ -3135,7 +3134,6 @@ void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw,
plot = amiplot;
glob = &browserglob;
- glob->scale = bw->scale;
if(option_direct_render == false)
{
@@ -3313,7 +3311,6 @@ void ami_do_redraw(struct gui_window_2 *g)
plot = amiplot;
glob = &browserglob;
- glob->scale = g->bw->scale;
if(option_direct_render == false)
{
@@ -3809,7 +3806,6 @@ bool gui_window_frame_resize_start(struct gui_window *g)
void gui_window_set_scale(struct gui_window *g, float scale)
{
- browserglob.scale = scale;
g->shared->new_content = true;
g->shared->redraw_required = true;
}
diff --git a/amiga/plotters.c b/amiga/plotters.c
index d60037151..2db18a7a2 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -124,7 +124,6 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height)
if(!width) width = scrn->Width;
if(!height) height = scrn->Width;
- gg->scale = 1.0;
gg->layerinfo = NewLayerInfo();
gg->areabuf = AllocVec(100,MEMF_PRIVATE | MEMF_CLEAR);
gg->tmprasbuf = AllocVec(width*height,MEMF_PRIVATE | MEMF_CLEAR);
diff --git a/amiga/plotters.h b/amiga/plotters.h
index f9d95b765..c3f816dca 100755
--- a/amiga/plotters.h
+++ b/amiga/plotters.h
@@ -33,7 +33,6 @@ struct gui_globals
APTR areabuf;
APTR tmprasbuf;
struct Rectangle rect;
- float scale;
#ifdef NS_AMIGA_CAIRO
cairo_surface_t *surface;
cairo_t *cr;
diff --git a/amiga/print.c b/amiga/print.c
index fe399be77..54e555960 100644
--- a/amiga/print.c
+++ b/amiga/print.c
@@ -464,7 +464,6 @@ bool ami_print_begin(struct print_settings *ps)
ami_print_info.PED->ped_MaxXDots,
ami_print_info.PED->ped_MaxYDots);
- ami_print_info.gg->scale = ps->scale;
ami_print_info.page = 0;
return true;