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:
Robert Osfield 2017-08-17 08:53:58 +01:00
parent edee9d0946
commit 4e67d6deb2

View File

@ -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)