VBGamer |
|
Re: DaBooda 2dEngine Turbo is complete... Lachlan87 (0 replies, 1204 views) (2004-May-25) I had a similar problem with the game I am writing in VB.Net and DX9. When the game loaded up, it would throw an exception saying something about "resizing". To make a long story short, my window was being resized somehow while the D3d device was lost (maybe just switching to fullscreen did it?) .
My solution was to add an event handler for the device.DeviceResizing event with this code:
If DeviceLost Then
e.Cancel = True
End If
Obviously the code would be a bit different for you, but it sounds like to me you have the same problem. |