X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdos%2Fgfx.h;h=109bbcf6686f961f6e170af00294bbb1030852d6;hp=7e12554a8d56694df1d03f19a653ad60cce747a1;hb=5029eb9f7a538dd58e1c66c0945784acac8cc58b;hpb=8f7234e08947a80bace3643f37214c5fb076bdfe diff --git a/src/dos/gfx.h b/src/dos/gfx.h index 7e12554..109bbcf 100644 --- a/src/dos/gfx.h +++ b/src/dos/gfx.h @@ -15,6 +15,14 @@ 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, + FLIP_VBLANK_WAIT +}; +/* 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 = \