summaryrefslogtreecommitdiff
path: root/atari/plot
diff options
context:
space:
mode:
Diffstat (limited to 'atari/plot')
-rwxr-xr-xatari/plot/plot.c6
-rwxr-xr-xatari/plot/plot.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/atari/plot/plot.c b/atari/plot/plot.c
index 2a8fd6868..e926deb77 100755
--- a/atari/plot/plot.c
+++ b/atari/plot/plot.c
@@ -1883,6 +1883,8 @@ bool plot_set_dimensions(int x, int y, int w, int h)
if (doupdate==true)
update_visible_rect();
+ //dbg_rect("plot_set_dimensions", &newclip);
+
plot_clip(&newclip);
return(true);
}
@@ -1946,6 +1948,10 @@ bool plot_clip(const struct rect *clip)
return ( true );
}
+VdiHdl plot_get_vdi_handle(void)
+{
+ return(atari_plot_vdi_handle);
+}
bool plot_get_clip(struct rect * out)
{
diff --git a/atari/plot/plot.h b/atari/plot/plot.h
index b0ec58b5a..3c9461d69 100755
--- a/atari/plot/plot.h
+++ b/atari/plot/plot.h
@@ -111,6 +111,7 @@ bool plot_get_clip(struct rect * out);
/* Get clipping for current framebuffer as GRECT */
void plot_get_clip_grect(GRECT * out);
bool plot_clip(const struct rect *clip);
+VdiHdl plot_get_vdi_handle(void);
bool plot_rectangle( int x0, int y0, int x1, int y1,const plot_style_t *style );
bool plot_line( int x0, int y0, int x1, int y1, const plot_style_t *style );
bool plot_blit_bitmap(struct bitmap * bmp, int x, int y,