Added OSG_GL_CONTEXT_STRING cmake variable to set include/osg/GL headers that sets Traits::glContextVersion.
This commit is contained in:
@@ -240,7 +240,7 @@ void DisplaySettings::setDefaults()
|
||||
|
||||
_implicitBufferAttachmentRenderMask = DEFAULT_IMPLICIT_BUFFER_ATTACHMENT;
|
||||
_implicitBufferAttachmentResolveMask = DEFAULT_IMPLICIT_BUFFER_ATTACHMENT;
|
||||
_glContextVersion = "1.0";
|
||||
_glContextVersion = OSG_GL_CONTEXT_STRING;
|
||||
_glContextFlags = 0;
|
||||
_glContextProfileMask = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user