extern "C" {
#endif
-void *set_video_mode(int xsz, int ysz, int bpp);
+void *set_video_mode(int xsz, int ysz, int bpp, int nbuf);
int set_text_mode(void);
int get_color_depth(void);
enum {
FLIP_NOW,
- FLIP_VBLANK,
+ FLIP_VBLANK
};
/* page flip and return pointer to the start of the display area (front buffer) */
void *page_flip(int vsync);