equal
deleted
inserted
replaced
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); |