fix retina API

This commit is contained in:
Erwin Coumans
2015-08-07 16:21:33 -07:00
parent 3c0e67298a
commit edaa92c286
8 changed files with 18 additions and 7 deletions

View File

@@ -19,6 +19,8 @@ class MacOpenGLWindow : public CommonWindowInterface
b3RenderCallback m_renderCallback;
float m_retinaScaleFactor;
bool m_allowRetina;
public:
MacOpenGLWindow();
@@ -89,6 +91,10 @@ public:
{
return m_retinaScaleFactor;
}
virtual void setAllowRetina(bool allow)
{
m_allowRetina = allow;
}
virtual void createWindow(const b3gWindowConstructionInfo& ci);