A tip for others playing around with these modules: It appears that the projection matrix behaves slightly different in OpenGL than in DirectX:
In DirectX mode, SetViewport needs the virtual resolution, while in OpenGL mode SetViewport requires the actual resolution. That means that if your application runs in both graphic modes, you'll have to apply some extra logic around any calls to SetViewPort, or one of the two will not behave as expected.
(Also -- the commands don't get highlighted in the IDE?)
In DirectX mode, SetViewport needs the virtual resolution, while in OpenGL mode SetViewport requires the actual resolution. That means that if your application runs in both graphic modes, you'll have to apply some extra logic around any calls to SetViewPort, or one of the two will not behave as expected.
(Also -- the commands don't get highlighted in the IDE?)