-
Notifications
You must be signed in to change notification settings - Fork 552
Examples clean up and test fixes #1158
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
Conversation
examples/graphics/surface.cpp
Outdated
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.
POINTS is a typedef to a struct on Windows in windef.h. That's causing build failure.
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.
Ofcourse :|
|
Lets put |
- Replaced getchar within ifdefs with a new macro - Cleaned up unneeded "console" options from a few examples - Removed getchar option for windows. - This was already available via cmake
8a96c0c to
52a8409
Compare
|
For the record, we will be adding The purpose of the getchar was to prevent the command prompts from exiting without user input when run without the VS debugger (Ctrl + F5). This can be achieved by using |
Examples clean up and test fixes
[skip ci]
getchar()for windows