sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Customize display size in custom OpenGL toolkit funcs #161

Open JeroMiya opened 8 years ago

JeroMiya commented 8 years ago

In some environments (OSVR-Unreal on mobile, due to their mobile scaling feature), the final display size may not match the physical display size. Add a callback for custom OpenGL toolkits to override the display size. This gives us the opportunity to tell RenderManager the new final display resolution, when it differs from the display configuration.

JeroMiya commented 8 years ago

Implemented in https://github.com/sensics/OSVR-RenderManager/pull/160