But I wasn't able to do it without changing Brume sources : adding a new "ControlToRender" property I used atthis line
- Code: Select all
device = new Direct3D.Device(0, Direct3D.DeviceType.Hardware, brume.ControlToRender.Handle, createFlags, pres);
in the DirectX9GraphicApi.cs.
I set it to brume object in the constructor to avoid problem for normal use and for my map editor I just have to add this
- Code: Select all
game.ControlToRender = game.panelBrume;
Before
- Code: Select all
game.Play();
It ll be interesting I think if in the next release we would be able to do this without changing the brume DLL

One more time : thank you for all the work