diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-17 17:24:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-17 17:27:14 +0300 |
commit | 95f4d0fed142171acba11a3a6feda4fd820e70cc (patch) | |
tree | 1768b69f201c197433dcccd693be7c8d0403c7be /chart2/source | |
parent | 2a67712f5ff97ebf04860a10d50ed94a654e1f5e (diff) |
Try harder to bypass OpenGL 3D stuff on non-desktop for now
At least while the OpenGL chart feature is a work in progress, and
nobody is working on it for iOS or Android anyway.
Change-Id: I9de5c6647e6db42b330e593089e296aa9a346afb
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 978ecefc2a7d..c530354a5907 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> + #include "ChartView.hxx" #include "chartview/DrawModelWrapper.hxx" #include "NumberFormatterWrapper.hxx" @@ -2455,11 +2457,13 @@ void ChartView::createShapes() pShapeFactory->setPageSize(mxRootShape, aPageSize); pShapeFactory->clearPage(m_xDrawPage); +#if HAVE_FEATURE_DESKTOP if(isReal3DChart()) { createShapes3D(); return; } +#endif { SolarMutexGuard aSolarGuard; |