diff src/video/xbios/SDL_xbios_milan.c @ 4198:6405314a7c07 SDL-1.2

Define flags for double line and c2p operations. More Milan video work.
author Patrice Mandin <patmandin@gmail.com>
date Sun, 20 Sep 2009 12:08:51 +0000
parents 1bf6585720e9
children
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios_milan.c	Sat Sep 19 21:58:59 2009 +0000
+++ b/src/video/xbios/SDL_xbios_milan.c	Sun Sep 20 12:08:51 2009 +0000
@@ -73,7 +73,7 @@
 	modeinfo.width = inf->scrWidth;
 	modeinfo.height = inf->scrHeight;
 	modeinfo.depth = inf->scrPlanes;
-	modeinfo.doubleline = SDL_FALSE;
+	modeinfo.flags = 0;
 
 	SDL_XBIOS_AddMode(enum_this, enum_actually_add, &modeinfo);
 
@@ -84,8 +84,6 @@
 {
 	int i;
 
-	/* Read infos about current mode */ 
-
 	/* Read validated predefined modes */
 	for (i=0; i<NUM_PREDEFINED_MODES; i++) {
 		int j;
@@ -99,7 +97,7 @@
 				modeinfo.width = mode_list[i].width;
 				modeinfo.height = mode_list[i].height;
 				modeinfo.depth = mode_bpp[j-1];
-				modeinfo.doubleline = SDL_FALSE;
+				modeinfo.flags = 0;
 
 				SDL_XBIOS_AddMode(this, actually_add, &modeinfo);
 			}