windows fixes

This commit is contained in:
erwin coumans
2016-05-04 00:16:53 -07:00
parent 0d3440b388
commit 8360e2e66d
4 changed files with 55 additions and 30 deletions

View File

@@ -180,6 +180,21 @@ int Win32OpenGLWindow::fileOpenDialog(char* fileName, int maxFileNameLength)
//return 0;
}
int Win32OpenGLWindow::getWidth() const
{
if (m_data)
return m_data->m_openglViewportWidth;
return 0;
}
int Win32OpenGLWindow::getHeight() const
{
if (m_data)
return m_data->m_openglViewportHeight;
return 0;
}
#endif