Direct Draw Surface larger than the screen?
Crossbones+ - Reputation: 2683
Posted 29 October 1999 - 05:34 AM
Try the following code, where lpdd is your main direct draw object:
if (driver_caps.dwCaps2 & DDCAPS2_WIDESURFACES)
// Now you know you can handle wide surfaces.
// so do something here to indicate it
If your driver can handle wide surfaces, it maybe that you need to set a Clipper if you're trying to blit the whole surface, or just blit a portion of the surface instead. That's a guess, though.
[This message has been edited by Aldacron (edited October 29, 1999).]