Hi there!
I wrote a visual Delphi component that renders .X and .MD2 files using Direct3D. I create all textures with D3DXCreateTextureFromFileExA and the Pool paramter set to D3DPOOL_MANAGED.
The DirectX SDK documentation says that a texture created with the pool parameter set to D3DPOOL_MANAGED survives a D3DDevice.Reset() call.
Well, whenever my component is resized, I call the Reset() method of my Direct3DDevice to adjust the back-buffer but when doing that I lose all my textures and they can't be restored manually either.
I'm not sure what I'm doing wrong... I'm pretty sure it's soemthing very stupid.
Any ideas?