summaryrefslogtreecommitdiff
path: root/include/vcl/outdev.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r--include/vcl/outdev.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index f31eab287d17..1fb4f9be04a5 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_OUTDEV_HXX
#define INCLUDED_VCL_OUTDEV_HXX
+#include <config_features.h>
#include <tools/gen.hxx>
#include <tools/solar.h>
#include <tools/rc.hxx>
@@ -612,6 +613,7 @@ public:
* the underlying SalGraphics and it's implementation
* changing.
*/
+#if HAVE_FEATURE_OPENGL
class PaintScope {
void *pHandle;
public:
@@ -619,7 +621,7 @@ public:
~PaintScope();
void flush();
};
-
+#endif
protected:
virtual void CopyDeviceArea( SalTwoRect& aPosAry, bool bWindowInvalidate = false);