lockResolution

fnvoid lockResolution(int width, int height) @safe nothrow @nogc

Locks the resolution to the given width and height.