support retina / scale factor between pixel size and screen coordinate size

This commit is contained in:
Erwin Coumans
2017-09-20 10:07:18 -07:00
parent c47019e0af
commit fb05763093
4 changed files with 24 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
#ifndef B3_USE_GLFW
#ifdef __APPLE__
#include "MacOpenGLWindow.h"
@@ -190,6 +191,6 @@ void MacOpenGLWindow::setAllowRetina(bool allow)
#endif //__APPLE__
#endif //B3_USE_GLFW