Window position...
Hey, hey, hey! In SDK 0.4, I believe, ovrHmd used to have WindowsPos as a member.
Resolution apparently remained as a member and gives the size of the window.
Only, how to access the position of a window in SDK 0.6?
Please, see code here below, thank you! ;-)
if (debug == false)
{
x = hmd->WindowsPos.x;
y = hmd->WindowsPos.y;
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
}
int w = hmd->Resolution.w;
int h = hmd->Resolution.h;
Resolution apparently remained as a member and gives the size of the window.
Only, how to access the position of a window in SDK 0.6?
Please, see code here below, thank you! ;-)
if (debug == false)
{
x = hmd->WindowsPos.x;
y = hmd->WindowsPos.y;
flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
}
int w = hmd->Resolution.w;
int h = hmd->Resolution.h;
