1
0
Fork 0

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:
ehofman 2009-12-01 09:08:08 +00:00 committed by Tim Moore
parent 78ebe9424b
commit 2c617798d5

View file

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