Use official colospace HSL/HSV converters from boost source tree (BOOST_VERSION > 1_69)
This commit is contained in:
parent
44198d1ac2
commit
7f2c8b756a
1 changed files with 4 additions and 1 deletions
5
deps/agg/src/agg_pixfmt_rgba.cpp
vendored
5
deps/agg/src/agg_pixfmt_rgba.cpp
vendored
|
@ -5,11 +5,14 @@
|
|||
#include <boost/version.hpp>
|
||||
#if BOOST_VERSION >= 106900
|
||||
#include <boost/gil.hpp>
|
||||
#include <boost/gil/extension/toolbox/color_spaces/hsv.hpp>
|
||||
#include <boost/gil/extension/toolbox/color_spaces/hsl.hpp>
|
||||
#else
|
||||
#include <boost/gil/gil_all.hpp>
|
||||
#endif
|
||||
#include <boost/gil/extension/toolbox/hsv.hpp>
|
||||
#include <boost/gil/extension/toolbox/hsl.hpp>
|
||||
#endif
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace agg
|
||||
|
|
Loading…
Reference in a new issue