DbScreenDepth

Returns the color depth.

Syntax
int dbScreenDepth

Usage
The video mode's screen depth is returned as an int. int window_d = dbScreenDepth ;