Skip to main content
GameDev.net gamedev.net
🔒 Locked

D3DXEffect problem

Started by 991060 Aug 4, 2006 at 4:34 AM 0 replies 550+ views
Original Post
991060
991060
Hi: I found a weird problem in my application. Everytime I call ID3DXEffect::End(), The device state is lost, including texture ptr, vertex shader and pixel shader. All of them is set to zero. Is there anyone knows why?
The sweet of life sucks.
991060
991060
It seems the device state is automatically reset by the d3dx system. But I tried setting D3DXFX_DONOTSAVESTATE|D3DXFX_DONOTSAVESAMPLERSTATE|D3DXFX_DONOTSAVESHADERSTATE when creating the effect, the behavior is still the same.
The sweet of life sucks.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.