Detecting Bit Depth For Sdl


Miner49er

Active Member
Joined
Mar 1, 2004
Messages
655
Age
49
Website
www.lessermatters.co.uk
Hi there!

I've just discovered that LemmingsSDL runs half the speed if the incorrect bit depth is set (so, if your desktop is 32bpp and you specify 16bpp cpu usage doubles). This could explain why some poeple claimed that it ran slow on the Pandora (I can't test as I STILL don't have mine)

I've added a command line paramater but wondered a) how others deal with this (if at all)? and B) if it's possible to detect what's available and automatically set it?

Any ideas?
 
Back
Top