7thSigil

Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

100 Neutral

About 7thSigil

  • Rank
    Newbie
  1. Thank you so much! I did enable debug runtime, though i was unaware of the fact that vs projects have a native debugging switch.. stupid me :/ Anyway, problem solved
  2. Could someone please give an example of how to correctly initialize d3d9ex device in fullscreen? Windowed mode works fine, but all configurations that I've tried fail when setting windowed = false ... Maybe i'm missing something here? Forgive me for such a noob question =) //Sample code.. though i've tried quite a few different configs.. SlimDX.Direct3D9.PresentParameters presentParams = new SlimDX.Direct3D9.PresentParameters { BackBufferWidth = this.Width, BackBufferHeight = this.Height, DeviceWindowHandle = this.Handle, BackBufferFormat = d3dex.Adapters.DefaultAdapter.CurrentDisplayMode.Format, BackBufferCount = 3, Windowed = false }; SlimDX.Direct3D9.DisplayModeEx fsdm = d3dex.AdaptersEx.DefaultAdapter.CurrentDisplayMode; dev9ex = new DeviceEx(d3dex, 0, SlimDX.Direct3D9.DeviceType.Hardware, this.Handle, SlimDX.Direct3D9.CreateFlags.HardwareVertexProcessing, presentParams, fsdm); // D3DERR_INVALID_CALL Exception, no matter what configs i use