summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 02:19:14 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 02:19:14 +0200
commit8e4defe4b59a72fbe82f94b26e233ba36640c739 (patch)
tree384760162a053beef6b5cdba998c7757e0736b23 /slideshow/source
parent9dc883623f85f2ceec22c3e5c1750ff7acd3cac5 (diff)
fix Wunused-private-field
Change-Id: Ia708cc3cccd86257e08aa916d24733ca6769e723
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
index bb0e979da9b1..8faa72811ad6 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
@@ -253,11 +253,15 @@ private:
GLXPixmap maLeavingPixmapGL;
GLXPixmap maEnteringPixmapGL;
#endif
+#if defined( UNX ) && !defined( MACOSX )
bool mbRestoreSync;
+#endif
bool mbUseLeavingPixmap;
bool mbUseEnteringPixmap;
+#if defined( GLX_EXT_texture_from_pixmap )
bool mbFreeLeavingPixmap;
bool mbFreeEnteringPixmap;
+#endif
#if defined( UNX ) && !defined( MACOSX )
Pixmap maLeavingPixmap;
Pixmap maEnteringPixmap;
@@ -1354,11 +1358,15 @@ OGLTransitionerImpl::OGLTransitionerImpl()
, maLeavingPixmapGL(0)
, maEnteringPixmapGL(0)
#endif
+#if defined( UNX ) && !defined( MACOSX )
, mbRestoreSync(false)
+#endif
, mbUseLeavingPixmap(false)
, mbUseEnteringPixmap(false)
+#if defined( GLX_EXT_texture_from_pixmap )
, mbFreeLeavingPixmap(false)
, mbFreeEnteringPixmap(false)
+#endif
#if defined( UNX ) && !defined( MACOSX )
, maLeavingPixmap(0)
, maEnteringPixmap(0)