Table of Contents

 
GetScreenBPP
 

Purpose

Returns the screen's bit depth

 

Protoype

int CVideo::GetScreenBPP ()
 

Description

This function finds the current bit depth of the primary surface.

 

Use

CVideo video;
int i_bpp = video.GetScreenBPP();
 

Prev: GetPrimary