summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dos/video.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-02-20 15:43:52 +0000
committerBrian Paul <[email protected]>2003-02-20 15:43:52 +0000
commit60f84fcc91c5fb86843c528416399303da113a2f (patch)
tree698d04b625c6efac205d76ae7d68b074102090f2 /src/mesa/drivers/dos/video.h
parent449e47f06a46c42fb9895d13f37b599600225e56 (diff)
latest DOS updates (Daniel Borca)
Diffstat (limited to 'src/mesa/drivers/dos/video.h')
-rw-r--r--src/mesa/drivers/dos/video.h8
1 files changed, 7 insertions, 1 deletions
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);