bpp should be 32 (what are you trying to do with other bpps??), or omitted since it's the default.
Oh, I was just copying them from a video chart I had found on Wikipedia. ^^;; I'll set them all to 32.
But say, if I make a quickie video mode like....
sf::VideoMode MyMode;
MyMode.Width=800;
MyMode.Height=600;
create(MyMode,"MyWindow",sf::Style::Fullscreen);
Will create an error since the bpp was not defined. However
sf::VideoMode MyMode;
MyMode.Width=800;
MyMode.Height=600;
MyMode.BitsPerPixel=32;
create(MyMode,"MyWindow",sf::Style::Fullscreen);
Will work perfectly. So thats why I have the bpp for each video mode.
Still unsure as to why they are all invalid...
Oh well, I'll just use
reslist = sf::VideoMode::getFullscreenModes();
Instead of making my own list, after all, its likely to save me time and be more efficient. ^^;