X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdos%2Fgfx.h;h=029066ffb498500807c29649a3b67a2fd4a508a9;hp=7e12554a8d56694df1d03f19a653ad60cce747a1;hb=b82bab85314bbc57d1c542d4d6687de0cd75c375;hpb=62c84af3483abd59e3b6672559b19a9ea17ff14d diff --git a/src/dos/gfx.h b/src/dos/gfx.h index 7e12554..029066f 100644 --- a/src/dos/gfx.h +++ b/src/dos/gfx.h @@ -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 = \