Added OSG_GL_CONTEXT_STRING cmake variable to set include/osg/GL headers that sets Traits::glContextVersion.
This commit is contained in:
@@ -239,7 +239,7 @@ GraphicsContext::Traits::Traits(DisplaySettings* ds):
|
||||
swapBarrier(0),
|
||||
useMultiThreadedOpenGLEngine(false),
|
||||
useCursor(true),
|
||||
glContextVersion("1.0"),
|
||||
glContextVersion(OSG_GL_CONTEXT_STRING),
|
||||
glContextFlags(0),
|
||||
glContextProfileMask(0),
|
||||
sharedContext(0),
|
||||
|
||||
Reference in New Issue
Block a user