-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix realsense viewer on macos #3195
Fix realsense viewer on macos #3195
Conversation
Just the first image is saved with `jpg` lower the rest are `JPG`.
Markdown Images case sensitive
GL_APPLE_vertex_array_object or GL_ARB_vertex_array_object provide the OpenGL 3.0 functionality that is missing in Apple's OpenGL 2.1. Apple does not provide a compatibility profile for OpenGL 3.2.
Allows realsense-viewer to
std::vector<bool>::emplace_back is not available on clang
UI tools such realsense viewer, depth quality tool in macos get segmentation fault on the latest release. They are both work with this pull request. I tested on a 2017 mbp with macos 10.13.6, and connect the d435i to the computer via usb-c to usb-c wire. |
Hi @devernay |
Worked like a charm 👍 I completely missed that glad script can generate extensions in this way. I'm not sure why |
One more thing - I retargeted the PR to the development branch, as it is our staging area prior to release. |
macOS does not provide an OpenGL 3.2 compatibility profile: only OpenGL 2.1 is available.
Because of the shading langage version used (1.10), we cannot use a core profile either.
The solution is to check whether the required functionality is available, and provide fallback replacements from extensions.
There is also a clang-specific test to let the unit tests compile.