the rewrite branch builds, not tested yet
[dosdemo] / src / dos / gfx.h
index 7e12554..029066f 100644 (file)
@@ -15,6 +15,13 @@ int get_color_mask(unsigned int *rmask, unsigned int *gmask, unsigned int *bmask
 
 void set_palette(int idx, int r, int g, int b);
 
+enum {
+       FLIP_NOW,
+       FLIP_VBLANK,
+};
+/* page flip and return pointer to the start of the display area (front buffer) */
+void *page_flip(int vsync);
+
 #ifdef __WATCOMC__
 void wait_vsync(void);
 #pragma aux wait_vsync = \