I am building a game for use with a head-mounted display. This piece of hardware has very specific resolution requirements. I need to be ablo to change the resolution in-game to 1280 x 480. Obviously, this is not supported by the video_switch function. Is there some way to change the resolution to values that are not standard in the engine?

I tried changing the res in a C++ DLL, it changes, but then changes right back in the following frame. Any help you could give would be greatly appreciated.