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,5 @@
#ifndef B3_USE_GLFW
#include "MacOpenGLWindowObjC.h"
#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
@@ -1231,3 +1233,5 @@ b3ResizeCallback Mac_getResizeCallback(struct MacOpenGLWindowInternalData* m_int
{
return [m_internalData->m_myview getResizeCallback];
}
#endif //B3_USE_GLFW