The problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always defined, either with a value of 1 or a value of 0 while the test in the code checks for '#if defined(HAVE_CULLSETTINGS_CLEAR_MASK)'
This commit is contained in:
parent
78ebe9424b
commit
2c617798d5
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ AC_COMPILE_IFELSE(
|
|||
[[osg::CullSettings::VariablesMask mask = osg::CullSettings::CLEAR_MASK;]])],
|
||||
[AC_DEFINE([HAVE_CULLSETTINGS_CLEAR_MASK],1,[define if OSG has CullSettings::CLEAR_MASK])
|
||||
AC_MSG_RESULT([yes])],
|
||||
[AC_DEFINE([HAVE_CULLSETTINGS_CLEAR_MASK],0,[define if OSG has CullSettings::CLEAR_MASK])
|
||||
[AC_DEFINE([DONT_HAVE_CULLSETTINGS_CLEAR_MASK],1,[define if OSG doesn't have CullSettings::CLEAR_MASK])
|
||||
AC_MSG_RESULT([no])])
|
||||
AC_LANG_POP
|
||||
|
||||
|
|
Loading…
Reference in a new issue