I have an application with DirectX and into the application I have some
controls, I want make a resize and my 2d controls not stretch like DirectX
do. That work perfect went I work on OpenGl,
For DirectX when I receive the event WM_SIZE, I call to restore the driver,
but when I call that function
...
hr = D3DDevice->Reset(&PresParams);
...
return Error, When this not return any Error every thing work fine, but the
most of time that return an error, I put DirectX on debug mode, too and that
not give me any advice what is going bad.
Regards, Bob