mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
increase lowvidmem threshold
This commit is contained in:
parent
3bda22e647
commit
d1b1a356fc
@ -1808,7 +1808,7 @@ bool wdxGraphicsWindow::search_for_device(int devnum,DXDeviceInfo *pDevinfo) {
|
||||
// so this is the true value
|
||||
_dxgsg->scrn.MaxAvailVidMem = dwVidMemTotal;
|
||||
|
||||
#define LOWVIDMEMTHRESHOLD 3500000
|
||||
#define LOWVIDMEMTHRESHOLD 5500000
|
||||
#define CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD 1000000 // every vidcard we deal with should have at least 1MB
|
||||
|
||||
// assume buggy drivers (this means you, FireGL2) may return zero for dwVidMemTotal, so ignore value if its < CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD
|
||||
|
@ -1884,7 +1884,7 @@ find_all_card_memavails(void) {
|
||||
// #define LOWVIDMEMTHRESHOLD 3500000
|
||||
// #define CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD 1000000
|
||||
|
||||
#define LOWVIDMEMTHRESHOLD 5000000 // 4MB cards should fall below this
|
||||
#define LOWVIDMEMTHRESHOLD 5700000 // 4MB cards should fall below this
|
||||
#define CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD 1000000 // if # is > 1MB, card is lying and I cant tell what it is
|
||||
|
||||
// assume buggy drivers (this means you, FireGL2) may return zero (or small amts) for dwVidMemTotal, so ignore value if its < CRAPPY_DRIVER_IS_LYING_VIDMEMTHRESHOLD
|
||||
|
Loading…
x
Reference in New Issue
Block a user