Jump to content
  • Advertisement

Pallaris

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

103 Neutral

About Pallaris

  • Rank
    Newbie
  1. I've impleneted both OnDeviceLost and OnDeviceReset. OnDeviceLost simply disposes all textures, OnDeviceReset - loads them.   Also I'm using Microsoft.DirectX.Direct3D.Font objects in my applications. How should i handle them in Lost and Reset events? I've tried to remove using fonts in my applications just to be sure, but that exception still occured.
  2. Hi everyone.   Got an annoying unhandled exception while minimizing my app. If i press "Continue", application works fine after that. This exception doesnt appear if I run in debug mode. In my OnReset() I'm just reloading all textures. Any suggestions?  Thank you. -2005532292 (D3DERR_OUTOFVIDEOMEMORY) ? Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters) ? Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e) ? System.Windows.Forms.Control.OnResize(EventArgs e) ? System.Windows.Forms.Form.OnResize(EventArgs e) ? System.Windows.Forms.Control.OnSizeChanged(EventArgs e) ? WeifenLuo.WinFormsUI.Docking.DockContent.OnSizeChanged(EventArgs e) ? System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) ? System.Windows.Forms.Control.UpdateBounds() ? System.Windows.Forms.Control.WmWindowPosChanged(Message& m) ? System.Windows.Forms.Control.WndProc(Message& m) ? System.Windows.Forms.ScrollableControl.WndProc(Message& m) ? System.Windows.Forms.Form.WndProc(Message& m) ? System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) ? System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) ? System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!