Surround PaintScope code with ifdefs matching declaration in include file

Change-Id: Iede85fc847b330b5586b95facafb690df7209d1b
This commit is contained in:
Tor Lillqvist
2016-08-09 10:54:11 +03:00
parent 237ff9c497
commit 8778a3e039

View File

@@ -1072,6 +1072,8 @@ void OpenGLHelper::debugMsgPrint(const int nType, const char *pFormat, ...)
va_end (aArgs); va_end (aArgs);
} }
#if HAVE_FEATURE_OPENGL || defined(ANDROID)
OutputDevice::PaintScope::PaintScope(OutputDevice *pDev) OutputDevice::PaintScope::PaintScope(OutputDevice *pDev)
: pHandle( nullptr ) : pHandle( nullptr )
{ {
@@ -1108,4 +1110,6 @@ OutputDevice::PaintScope::~PaintScope()
flush(); flush();
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */