Graphics.SetMode() return true but not working (UrhoSharp)


Hi all,
I’m using Urho3d for C#. I try to set resolution using SetMode but it just return true and doesn’t change anything. here’s the call:

var ret = Graphics.SetMode(800, 600, true, true, false, false, true, false, 0, 0, 0);

Edit: I call it from first line of ‘Start()’

What am I missing?


Most likely this needs to be done before the context is created.
I do it in virtual Setup method, which I presume is executed prior to Start method.

    virtual void Setup()
        // Called before engine initialization. engineParameters_ member variable can be modified here


UrhoSharp is a separate project with its own forums, documentation and bugs.

closed #4