mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
oops
This commit is contained in:
parent
cbe7ef43c7
commit
bae67239a1
@ -1550,7 +1550,9 @@ special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
|
|||||||
switch(VendorId) {
|
switch(VendorId) {
|
||||||
case 0x8086: // Intel
|
case 0x8086: // Intel
|
||||||
// Intel i810,i815
|
// Intel i810,i815
|
||||||
if((DeviceId==0x7121)||(DeviceId==0x7121)||(DeviceId==0x1132)) {
|
if((DeviceId==0x7121)||(DeviceId==0x7123)||(DeviceId==0x7125)||
|
||||||
|
(DeviceId==0x1132)) {
|
||||||
|
|
||||||
if((xsize==800)&&(ysize==600))
|
if((xsize==800)&&(ysize==600))
|
||||||
return true;
|
return true;
|
||||||
if((xsize==1024)&&(ysize==768))
|
if((xsize==1024)&&(ysize==768))
|
||||||
@ -1729,7 +1731,7 @@ bool wdxGraphicsWindow::search_for_device(int devnum,DXDeviceInfo *pDevinfo) {
|
|||||||
DDDEVICEIDENTIFIER2 *pDevID=&_dxgsg->scrn.DXDeviceID;
|
DDDEVICEIDENTIFIER2 *pDevID=&_dxgsg->scrn.DXDeviceID;
|
||||||
wdxdisplay_cat.info() << "GfxCard: " << pDevID->szDescription << "; DriverFile: '" << pDevID->szDriver
|
wdxdisplay_cat.info() << "GfxCard: " << pDevID->szDescription << "; DriverFile: '" << pDevID->szDriver
|
||||||
<< "'; VendorID: 0x" << (void*)pDevID->dwVendorId
|
<< "'; VendorID: 0x" << (void*)pDevID->dwVendorId
|
||||||
<< "'; DeviceID: 0x" << (void*)pDevID->dwDeviceId
|
<< "; DeviceID: 0x" << (void*)pDevID->dwDeviceId
|
||||||
<< "; DriverVer: "
|
<< "; DriverVer: "
|
||||||
<< HIWORD(pDevID->liDriverVersion.HighPart) << "."
|
<< HIWORD(pDevID->liDriverVersion.HighPart) << "."
|
||||||
<< LOWORD(pDevID->liDriverVersion.HighPart) << "."
|
<< LOWORD(pDevID->liDriverVersion.HighPart) << "."
|
||||||
|
@ -1637,8 +1637,9 @@ special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
|
|||||||
DWORD DeviceId=_dxgsg->scrn.DXDeviceID.DeviceId;
|
DWORD DeviceId=_dxgsg->scrn.DXDeviceID.DeviceId;
|
||||||
switch(VendorId) {
|
switch(VendorId) {
|
||||||
case 0x8086: // Intel
|
case 0x8086: // Intel
|
||||||
// Intel i810,i815
|
// Intel i810,i815,82810
|
||||||
if((DeviceId==0x7121)||(DeviceId==0x7121)||(DeviceId==0x1132)) {
|
if((DeviceId==0x7121)||(DeviceId==0x7123)||(DeviceId==0x7125)||
|
||||||
|
(DeviceId==0x1132)) {
|
||||||
if((xsize==800)&&(ysize==600))
|
if((xsize==800)&&(ysize==600))
|
||||||
return true;
|
return true;
|
||||||
if((xsize==1024)&&(ysize==768))
|
if((xsize==1024)&&(ysize==768))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user