Show differencesHistory of post edits
#Actualcaldiar
Posted 13 December 2012 - 04:14 AM
Ectara's right. Removing the poorly thought out suggestion.
#1caldiar
Posted 13 December 2012 - 04:02 AM
You could also check the width and height to see if they're multiples of 16 and 9 respectively such as:
if( ((Mode.Width % 16) == 0) && ((Mode.Height % 9) == 0))
{
std::cout << "Video Mode " << i << ": Width: " << Mode.Width
<<" Height: " << Mode.Height << " Bpp: " << Mode.BitsPerPixel
<< std::endl;
}