Renamed CMake variable + C++ #define to OSG_GL_CONTEXT_VERSION
This commit is contained in:
@@ -240,7 +240,7 @@ void DisplaySettings::setDefaults()
|
||||
|
||||
_implicitBufferAttachmentRenderMask = DEFAULT_IMPLICIT_BUFFER_ATTACHMENT;
|
||||
_implicitBufferAttachmentResolveMask = DEFAULT_IMPLICIT_BUFFER_ATTACHMENT;
|
||||
_glContextVersion = OSG_GL_CONTEXT_STRING;
|
||||
_glContextVersion = OSG_GL_CONTEXT_VERSION;
|
||||
_glContextFlags = 0;
|
||||
_glContextProfileMask = 0;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#define OSG_GLES1_FEATURES @OSG_GLES1_FEATURES@
|
||||
#define OSG_GLES2_FEATURES @OSG_GLES2_FEATURES@
|
||||
#define OSG_GLES3_FEATURES @OSG_GLES3_FEATURES@
|
||||
#define OSG_GL_CONTEXT_STRING "@OSG_GL_CONTEXT_STRING@"
|
||||
#define OSG_GL_CONTEXT_VERSION "@OSG_GL_CONTEXT_VERSION@"
|
||||
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
@@ -239,7 +239,7 @@ GraphicsContext::Traits::Traits(DisplaySettings* ds):
|
||||
swapBarrier(0),
|
||||
useMultiThreadedOpenGLEngine(false),
|
||||
useCursor(true),
|
||||
glContextVersion(OSG_GL_CONTEXT_STRING),
|
||||
glContextVersion(OSG_GL_CONTEXT_VERSION),
|
||||
glContextFlags(0),
|
||||
glContextProfileMask(0),
|
||||
sharedContext(0),
|
||||
|
||||
Reference in New Issue
Block a user