CL_DisplayCard::set_videomode
Syntax
virtual void set_videomode(
int width,
int height,
int bpp,
bool fullscreen = true,
bool allow_resize = false,
bool video_memory = true);
Parameters
| width | - | width in pixels of the new video mode. |
| height | - | height in pixels of the new video mode. |
| bpp | - | Bits per pixel. The depth of the new video mode. (8, 16, 24, 32) |
| video_memory | - | Use video memory if possible. System memory may be faster if alpha blending is used a lot. |
Description
Change the display card's video mode.
Back to index
|