MacOS will only provide OpenGL 3.2 contexts that are forward-compatible (all deprecated features removed). The addition of this hint should allow the example to run on MacOS, while slightly restricting the feature set on other systems.
An alternative solution would be surrounding the hint with preprocessor guards that limit its inclusion to MacOS.
MacOS will only provide OpenGL 3.2 contexts that are forward-compatible (all deprecated features removed). The addition of this hint should allow the example to run on MacOS, while slightly restricting the feature set on other systems.
An alternative solution would be surrounding the hint with preprocessor guards that limit its inclusion to MacOS.
Fixes #42