Adopted OSG_GL*_FEATURES usage of 0 and 1 in place of false and true to avoid VisualStudio 2012 build issues
This commit is contained in:
parent
edee9d0946
commit
4e67d6deb2
@ -515,39 +515,39 @@ ELSE()
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GL1_AVAILABLE)
|
||||
SET(OSG_GL1_FEATURES "true")
|
||||
SET(OSG_GL1_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GL1_FEATURES "false")
|
||||
SET(OSG_GL1_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GL2_AVAILABLE)
|
||||
SET(OSG_GL2_FEATURES "true")
|
||||
SET(OSG_GL2_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GL2_FEATURES "false")
|
||||
SET(OSG_GL2_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GL3_AVAILABLE)
|
||||
SET(OSG_GL3_FEATURES "true")
|
||||
SET(OSG_GL3_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GL3_FEATURES "false")
|
||||
SET(OSG_GL3_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GLES1_AVAILABLE)
|
||||
SET(OSG_GLES1_FEATURES "true")
|
||||
SET(OSG_GLES1_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GLES1_FEATURES "false")
|
||||
SET(OSG_GLES1_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GLES2_AVAILABLE)
|
||||
SET(OSG_GLES2_FEATURES "true")
|
||||
SET(OSG_GLES2_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GLES2_FEATURES "false")
|
||||
SET(OSG_GLES2_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF (OSG_GLES3_AVAILABLE)
|
||||
SET(OSG_GLES3_FEATURES "true")
|
||||
SET(OSG_GLES3_FEATURES 1)
|
||||
ELSE()
|
||||
SET(OSG_GLES3_FEATURES "false")
|
||||
SET(OSG_GLES3_FEATURES 0)
|
||||
ENDIF()
|
||||
|
||||
IF(ANDROID)
|
||||
|
Loading…
Reference in New Issue
Block a user