Members - Reputation: 938
Posted 26 October 2012 - 03:38 PM
Thanks in advance.
you know you program too much when you start ending sentences with semicolons;
Crossbones+ - Reputation: 4154
Posted 29 October 2012 - 06:05 AM
[source lang="cpp"]SDL_DisplayMode mode;SDL_GetDisplayMode(mode_index, &mode);[/source]
Which will give you the SDL_DisplayMode struct containing format, width, height, refresh rate.