-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
View module revisions #6
Conversation
@@ -28,12 +28,14 @@ void ViewModule::setAspect(float _width, float _height) { | |||
|
|||
m_aspect = _width / _height; | |||
setZoom(m_zoom); | |||
m_dirty = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for line #13 (can not comment there).. there is no need to set m_dirty to true there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, it's just there for clarity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coolness :D.
Superbly done.. Merging. |
Fix a few oversights in the ViewModule, improve the Makefile structure (still need a better build system..), and enable the window-resize callback in GLFW (for OS X)