From 60f84fcc91c5fb86843c528416399303da113a2f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 20 Feb 2003 15:43:52 +0000 Subject: latest DOS updates (Daniel Borca) --- src/mesa/drivers/dos/video.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers/dos/video.h') diff --git a/src/mesa/drivers/dos/video.h b/src/mesa/drivers/dos/video.h index 8dfb9a91766..e908178ad4d 100644 --- a/src/mesa/drivers/dos/video.h +++ b/src/mesa/drivers/dos/video.h @@ -36,6 +36,12 @@ typedef int fixed; +#define VL_GET_CARD_NAME 0x0100 +#define VL_GET_VRAM 0x0101 +#define VL_GET_CI_PREC 0x0200 +#define VL_GET_HPIXELS 0x0201 +#define VL_GET_SCREEN_SIZE 0x0202 + extern int (*vl_mixfix) (fixed r, fixed g, fixed b); extern int (*vl_mixrgb) (const unsigned char rgb[]); extern int (*vl_mixrgba) (const unsigned char rgba[]); @@ -50,7 +56,7 @@ extern int (*vl_getpixel) (unsigned int offset); void vl_setCI (int index, float red, float green, float blue); int vl_sync_buffer (void **buffer, int x, int y, int width, int height); -void vl_get_screen_size (int *width, int *height); +int vl_get (int pname, int *params); void vl_video_exit (void); int vl_video_init (int width, int height, int bpp, int rgb, int refresh); -- cgit v1.2.3