src/video/dga/SDL_dgavideo.c
changeset 1800 cc6bea4bb90d
parent 1786 473abd216edb
child 1895 c121d94672cb
child 4029 e7ec5ee35d54
equal deleted inserted replaced
1799:50e9cca3fe7b 1800:cc6bea4bb90d
   174 };
   174 };
   175 
   175 
   176 static int DGA_AddMode(_THIS, int bpp, int w, int h)
   176 static int DGA_AddMode(_THIS, int bpp, int w, int h)
   177 {
   177 {
   178 	SDL_Rect *mode;
   178 	SDL_Rect *mode;
   179 	int i, index;
   179 	int index;
   180 	int next_mode;
   180 	int next_mode;
   181 
   181 
   182 	/* Check to see if we already have this mode */
   182 	/* Check to see if we already have this mode */
   183 	if ( bpp < 8 ) {  /* Not supported */
   183 	if ( bpp < 8 ) {  /* Not supported */
   184 		return(0);
   184 		return(0);