Sign in to follow this  
Kiranatus

Video card can stretch but blt returns DDERR_NOSTRETCHHW

Recommended Posts

Hello, For LPDIRECTDRAWSURFACE7, when I use Blt with DDBLTFX_ARITHSTRETCHY flag in DDBLTFX structure Blt returns DDERR_NOSTRETCHHW.
DDBLTFX  effex;
ZeroMemory( &effex, sizeof( DDBLTFX));
effex.dwSize = sizeof(DDBLTFX);
effex.dwDDFX = DDBLTFX_ARITHSTRETCHY;

hr = pddsFrontBuffer->Blt(&rcWindow, pddsStoreBuffer, &rcSource, DDBLT_WAIT | DDBLT_DDFX, &effex);



But when I use GetCaps from LPDIRECTDRAW7 I see what DDFXCAPS_BLTARITHSTRETCHY flag is turned on. That I have missed? Thanks, Sergey

Share this post


Link to post
Share on other sites
DirectDraw hardware support has almost completely vanished nowadays. I can't grasp why because it was there once.

I wouldn't count on ANY effect support besides straight blitting.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this