Original Post
So I have set things up so that whatever I draw adds up to whatever I draw behind it.
Though I've been having trouble disabling it temporarily.
I've tried
and then setting it again but it doesn't get set again, it becomes disabled permanently.
I also tried D3DBLEND_ZERO and D3DBLEND_ONE but to no avail.
Any help is appreciated.
app->d3d->d3d_device->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_DESTALPHA);Though I've been having trouble disabling it temporarily.
I've tried
app->d3d->d3d_device->SetRenderState(D3DRS_DESTBLEND,FALSE);and then setting it again but it doesn't get set again, it becomes disabled permanently.
I also tried D3DBLEND_ZERO and D3DBLEND_ONE but to no avail.
Any help is appreciated.