Maybe your hardware is inadequate. Not all display drivers support larger surfaces in system memory. Or your version of DirectX can´t support it (required DirectX 5.0 or higher).
Gandalf.
Maybe your hardware is inadequate. Not all display drivers support larger surfaces in system memory. Or your version of DirectX can´t support it (required DirectX 5.0 or higher).
Gandalf.
Try the following code, where lpdd is your main direct draw object:
code:DDCAPS driver_caps;lpdd->GetCaps (&driver_caps,NULL);if (driver_caps.dwCaps2 & DDCAPS2_WIDESURFACES){ // Now you know you can handle wide surfaces. // so do something here to indicate it}
[This message has been edited by Aldacron (edited October 29, 1999).]
--- Official D Blog | Learning D | The One With D | D Bits
Thanx
df14