vid_blitfb()
authorJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 26 Jun 2023 15:50:10 +0000 (18:50 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Mon, 26 Jun 2023 15:50:10 +0000 (18:50 +0300)
vidsys.c
vidsys.h

index d60c5f2..427dbb5 100644 (file)
--- a/vidsys.c
+++ b/vidsys.c
@@ -194,3 +194,8 @@ void vid_getpal(int idx, int count, struct vid_color *col)
 {
        cur_mode->ops.getpal(idx, count, col);
 }
+
+void vid_blitfb(void *fb, int vsync)
+{
+       cur_mode->ops.blitfb(fb, vsync);
+}
index f40b18d..cd2cfec 100644 (file)
--- a/vidsys.h
+++ b/vidsys.h
@@ -72,4 +72,6 @@ int vid_isbanked(void);
 void vid_setpal(int idx, int count, const struct vid_color *col);
 void vid_getpal(int idx, int count, struct vid_color *col);
 
+void vid_blitfb(void *fb, int vsync);
+
 #endif /* VIDSYS_VIDEO_H_ */