aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/plugin_lib.c3
-rw-r--r--frontend/plugin_lib.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c
index d69a0b4..4e65e2e 100644
--- a/frontend/plugin_lib.c
+++ b/frontend/plugin_lib.c
@@ -198,11 +198,14 @@ static void pl_get_layer_pos(int *x, int *y, int *w, int *h)
*h = g_layer_h;
}
+extern int UseFrameSkip; // hmh
+
const struct rearmed_cbs pl_rearmed_cbs = {
pl_get_layer_pos,
pl_fbdev_open,
pl_fbdev_set_mode,
pl_fbdev_flip,
pl_fbdev_close,
+ &UseFrameSkip,
};
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index 7a25b81..f5c4985 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -34,6 +34,7 @@ struct rearmed_cbs {
int (*pl_fbdev_set_mode)(int w, int h, int bpp);
void *(*pl_fbdev_flip)(void);
void (*pl_fbdev_close)(void);
+ int *fskip_option;
};
extern const struct rearmed_cbs pl_rearmed_cbs;