let all intel cards work at 800x600,1024x768

This commit is contained in:
cxgeorge 2002-10-08 18:28:18 +00:00
parent c70c892c2a
commit 57e33677f2
2 changed files with 12 additions and 5 deletions

View File

@ -1543,16 +1543,19 @@ bool wdxGraphicsWindow::resize(unsigned int xsize,unsigned int ysize) {
// overrides of the general estimator for known working cases
bool wdxGraphicsWindow::
special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
//assert(IS_VALID_PTR(_dxgsg));
// assert(IS_VALID_PTR(_dxgsg));
DWORD VendorId=_dxgsg->scrn.DXDeviceID.dwVendorId;
DWORD DeviceId=_dxgsg->scrn.DXDeviceID.dwDeviceId;
switch(VendorId) {
case 0x8086: // Intel
// Intel i810,i815
/*for now, just validate all the intel cards at these resolutions.
I dont have a complete list of deviceIDs (missing 82830, 845, etc)
// Intel i810,i815,82810
if((DeviceId==0x7121)||(DeviceId==0x7123)||(DeviceId==0x7125)||
(DeviceId==0x1132)) {
(DeviceId==0x1132))
*/
{
if((xsize==800)&&(ysize==600))
return true;
if((xsize==1024)&&(ysize==768))

View File

@ -1637,9 +1637,13 @@ special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
DWORD DeviceId=_dxgsg->scrn.DXDeviceID.DeviceId;
switch(VendorId) {
case 0x8086: // Intel
/*for now, just validate all the intel cards at these resolutions.
I dont have a complete list of deviceIDs (missing 82830, 845, etc)
// Intel i810,i815,82810
if((DeviceId==0x7121)||(DeviceId==0x7123)||(DeviceId==0x7125)||
(DeviceId==0x1132)) {
(DeviceId==0x1132))
*/
{
if((xsize==800)&&(ysize==600))
return true;
if((xsize==1024)&&(ysize==768))