1
0
forked from 0ad/0ad
0ad/source/lib/sysdep/gfx.h
janwas d5142ff7f8 move from lib/ to lib/sysdep
This was SVN commit r859.
2004-07-31 14:10:06 +00:00

18 lines
662 B
C
Executable File

// useful for choosing a video mode. not called by detect().
// if we fail, outputs are unchanged (assumed initialized to defaults)
extern int get_cur_vmode(int* xres, int* yres, int* bpp, int* freq);
// useful for determining aspect ratio. not called by detect().
// if we fail, outputs are unchanged (assumed initialized to defaults)
extern int get_monitor_size(int& width_mm, int& height_mm);
extern char gfx_card[64]; // default: ""
extern char gfx_drv_ver[64]; // default: ""
// attempt to detect graphics card without OpenGL (in case ogl init fails,
// or we want more detailed info). gfx_card[] is unchanged on failure.
extern void get_gfx_info();