diff src/video/xbios/SDL_xbios.h @ 1064:fba6b67b4d60

Add Centscreen extended modes support
author Patrice Mandin <patmandin@gmail.com>
date Tue, 31 May 2005 12:31:11 +0000
parents 0e7218843cfb
children c9b51268668f
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.h	Fri May 20 20:37:28 2005 +0000
+++ b/src/video/xbios/SDL_xbios.h	Tue May 31 12:31:11 2005 +0000
@@ -70,6 +70,8 @@
 	int pitch;				/* Destination line width for C2P */
 	int width, height;		/* Screen size for centered C2P */
 
+	SDL_bool centscreen;	/* Centscreen extension present ? */
+
 	SDL_Rect *SDL_modelist[NUM_MODELISTS][SDL_NUMMODES+1];
 	xbiosmode_t *videomodes[NUM_MODELISTS][SDL_NUMMODES+1];
 };
@@ -123,6 +125,7 @@
 #define XBIOS_pitch			(this->hidden->pitch)
 #define XBIOS_width			(this->hidden->width)
 #define XBIOS_height		(this->hidden->height)
+#define XBIOS_centscreen	(this->hidden->centscreen)
 
 /*--- Functions prototypes ---*/