changeset 1191 | 5539aa59f703 |
parent 1066 | 1f1b3686a2b0 |
child 1223 | 41d7283934c1 |
1190:73ec31d8bb6f | 1191:5539aa59f703 |
---|---|
34 { |
34 { |
35 QStringList result; |
35 QStringList result; |
36 |
36 |
37 SDL_Rect **modes; |
37 SDL_Rect **modes; |
38 |
38 |
39 modes = SDL_ListModes(NULL, SDL_FULLSCREEN | SDL_HWSURFACE); |
39 modes = SDL_ListModes(NULL, SDL_FULLSCREEN); |
40 |
40 |
41 if((modes == (SDL_Rect **)0) || (modes == (SDL_Rect **)-1)) |
41 if((modes == (SDL_Rect **)0) || (modes == (SDL_Rect **)-1)) |
42 { |
42 { |
43 result << "640x480"; |
43 result << "640x480"; |
44 } else |
44 } else |