XGI_GetVGAType was removed in commit 68d25d4b5e. This function served no use, and this call to it should have been removed at that time.
68d25d4b5e