projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the rewrite branch builds, not tested yet
[dosdemo]
/
src
/
dos
/
gfx.h
diff --git
a/src/dos/gfx.h
b/src/dos/gfx.h
index
7e12554
..
029066f
100644
(file)
--- 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);
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 = \
#ifdef __WATCOMC__
void wait_vsync(void);
#pragma aux wait_vsync = \