Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
DoZo1971's avatar
DoZo1971
Explorer
11 years ago

Handling OnSize() (OculusSDK 0.3.1 Preview, CAPI interface)

Hi,

Has anyone figured out what the least amount of work is that should be done implementing OnSize() in a windowed environment (not fullscreen). The texture size shouldn't change, I would think, because that is based solely on the field of view (leaving aspect ratio out for the moment). But the ovrGLConfig struct, with cfg.OGL.Header.RTSize does. Do I have to call ovrHmd_ConfigureRendering(...) again?

Thanks,
Daniel

1 Reply

  • Currently you will have to reconfigure the rendering by calling ovrHmd_ConfigureRendering().