1
1
forked from 0ad/0ad

The const size_t GFX_DRV_VER_LEN was increased from 64 to 256 to accommodate extraneous drivers found in the windows registry. This was made to prevent an assertion in wdetect.

This was SVN commit r2858.
This commit is contained in:
greybeard 2005-10-06 03:45:33 +00:00
parent bc8eba1002
commit 6b25cafe05

View File

@ -13,7 +13,7 @@ extern int get_monitor_size(int& width_mm, int& height_mm);
const size_t GFX_CARD_LEN = 128;
extern char gfx_card[GFX_CARD_LEN]; // default: ""
const size_t GFX_DRV_VER_LEN = 64;
const size_t GFX_DRV_VER_LEN = 256; // increased from 64 by joe cocovich to accomodate unused drivers still in registry
extern char gfx_drv_ver[GFX_DRV_VER_LEN]; // default: ""
extern int gfx_mem; // [MiB]; approximate